mail_spy 0.0.4 → 0.0.5
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.
- data/README.rdoc +2 -7
- data/app/helpers/mail_spy/email_helper.rb +17 -3
- data/app/mailers/mail_spy/core_mailer.rb +11 -8
- data/app/models/mail_spy/email.rb +33 -14
- data/lib/generators/mail_spy/templates/mail_spy.rb +17 -1
- data/lib/mail_spy/manager.rb +9 -24
- data/lib/mail_spy/version.rb +1 -1
- data/lib/mail_spy.rb +29 -4
- data/test/dummy/app/views/email_templates/helper_test.html.erb +15 -0
- data/test/dummy/app/views/email_templates/helper_test.text.erb +11 -0
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/dummy/config/environments/production.rb +5 -1
- data/test/dummy/config/environments/test.rb +4 -1
- data/test/dummy/config/initializers/mail_spy.rb +38 -0
- data/test/dummy/config/routes.rb +0 -1
- data/test/dummy/lib/tasks/emails.rake +8 -0
- data/test/dummy/log/development.log +12 -0
- data/test/dummy/log/test.log +3545 -0
- data/test/functional/mail_spy/core_mailer_test.rb +16 -9
- data/test/functional/mail_spy/tracking_controller_test.rb +1 -9
- data/test/test_email_credentials.yml +2 -2
- data/test/test_email_credentials.yml.sample +0 -8
- data/test/test_helper.rb +15 -41
- data/test/unit/mail_spy/manager_test.rb +91 -125
- metadata +37 -23
- data/app/models/mail_spy/email_template.rb +0 -17
- data/test/fixtures/mail_spy/email_templates.yml +0 -9
- data/test/unit/mail_spy/email_template_test.rb +0 -9
data/test/dummy/log/test.log
CHANGED
@@ -7146,3 +7146,3548 @@ MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
|
7146
7146
|
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7147
7147
|
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7148
7148
|
[1m[35m (0.0ms)[0m rollback transaction
|
7149
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7150
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7151
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7152
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7153
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7154
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7155
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7156
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7157
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7158
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26feca816134dcaa000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:34:18 UTC, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7159
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26feca816134dcaa000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26feca816134dcaa000001')}})
|
7160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7162
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7163
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7164
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7165
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7166
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7167
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7169
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7170
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7171
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7172
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7173
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7174
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7176
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7177
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7178
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7179
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7180
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7183
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7184
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7185
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7186
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7187
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7188
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7191
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7192
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7193
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7194
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7195
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26feca816134dcaa000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7196
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7197
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26feca816134dcaa000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:34:18 UTC, "updated_at"=>2012-01-30 20:34:18 UTC, "created_at"=>2012-01-30 20:34:18 UTC}])
|
7198
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26feca816134dcaa000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26feca816134dcaa000007')}})
|
7199
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:34:18 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7200
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:34:18 UTC}, :sent=>false}).limit(100)
|
7201
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f26feca816134dcaa000007')}).limit(-1).sort([[:_id, :asc]])
|
7202
|
+
Rendered inline template (19.0ms)
|
7203
|
+
Rendered inline template (0.3ms)
|
7204
|
+
|
7205
|
+
Sent mail to trcarden@gmail.com (103ms)
|
7206
|
+
Date: Mon, 30 Jan 2012 12:34:20 -0800
|
7207
|
+
From: test@test.com
|
7208
|
+
Reply-To: testGuy
|
7209
|
+
To: trcarden@gmail.com
|
7210
|
+
Message-ID: <4f26feccd73f8_dcaa80b23dd014124@timly.local.mail>
|
7211
|
+
Subject: test subject
|
7212
|
+
Mime-Version: 1.0
|
7213
|
+
Content-Type: multipart/alternative;
|
7214
|
+
boundary="--==_mimepart_4f26feccbd912_dcaa80b23dd0138a7";
|
7215
|
+
charset=UTF-8
|
7216
|
+
Content-Transfer-Encoding: 7bit
|
7217
|
+
|
7218
|
+
|
7219
|
+
|
7220
|
+
----==_mimepart_4f26feccbd912_dcaa80b23dd0138a7
|
7221
|
+
Date: Mon, 30 Jan 2012 12:34:20 -0800
|
7222
|
+
Mime-Version: 1.0
|
7223
|
+
Content-Type: text/plain;
|
7224
|
+
charset=UTF-8
|
7225
|
+
Content-Transfer-Encoding: 7bit
|
7226
|
+
Content-ID: <4f26fecccb519_dcaa80b23dd01396d@timly.local.mail>
|
7227
|
+
|
7228
|
+
Hello World
|
7229
|
+
|
7230
|
+
----==_mimepart_4f26feccbd912_dcaa80b23dd0138a7
|
7231
|
+
Date: Mon, 30 Jan 2012 12:34:20 -0800
|
7232
|
+
Mime-Version: 1.0
|
7233
|
+
Content-Type: text/html;
|
7234
|
+
charset=UTF-8
|
7235
|
+
Content-Transfer-Encoding: 7bit
|
7236
|
+
Content-ID: <4f26feccd2ed5_dcaa80b23dd0140c0@timly.local.mail>
|
7237
|
+
|
7238
|
+
Hello World
|
7239
|
+
|
7240
|
+
----==_mimepart_4f26feccbd912_dcaa80b23dd0138a7--
|
7241
|
+
|
7242
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26feca816134dcaa000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:34:20 UTC}})
|
7243
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:34:20 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7246
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7247
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7248
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7249
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7250
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7251
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7252
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7253
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7254
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7255
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7256
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7257
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7258
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7259
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7260
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff3f816134dcb0000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:36:15 UTC, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7261
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff3f816134dcb0000001')}})
|
7262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7264
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7265
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7266
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7267
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7268
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7269
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7271
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7272
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7273
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7274
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7275
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7277
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7278
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7279
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7280
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7281
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7282
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7283
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7285
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7286
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7287
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7288
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7289
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7290
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7293
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7294
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7295
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7296
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7297
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7298
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7299
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff3f816134dcb0000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:36:15 UTC, "updated_at"=>2012-01-30 20:36:15 UTC, "created_at"=>2012-01-30 20:36:15 UTC}])
|
7300
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff3f816134dcb0000007')}})
|
7301
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:15 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7302
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:15 UTC}, :sent=>false}).limit(100)
|
7303
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f26ff3f816134dcb0000007')}).limit(-1).sort([[:_id, :asc]])
|
7304
|
+
Rendered inline template (19.8ms)
|
7305
|
+
Rendered inline template (0.3ms)
|
7306
|
+
|
7307
|
+
Sent mail to trcarden@gmail.com (110ms)
|
7308
|
+
Date: Mon, 30 Jan 2012 12:36:18 -0800
|
7309
|
+
From: test@test.com
|
7310
|
+
Reply-To: testGuy
|
7311
|
+
To: trcarden@gmail.com
|
7312
|
+
Message-ID: <4f26ff427846f_dcb08166115c78386@timly.local.mail>
|
7313
|
+
Subject: test subject
|
7314
|
+
Mime-Version: 1.0
|
7315
|
+
Content-Type: multipart/alternative;
|
7316
|
+
boundary="--==_mimepart_4f26ff425ceb5_dcb08166115c78081";
|
7317
|
+
charset=UTF-8
|
7318
|
+
Content-Transfer-Encoding: 7bit
|
7319
|
+
|
7320
|
+
|
7321
|
+
|
7322
|
+
----==_mimepart_4f26ff425ceb5_dcb08166115c78081
|
7323
|
+
Date: Mon, 30 Jan 2012 12:36:18 -0800
|
7324
|
+
Mime-Version: 1.0
|
7325
|
+
Content-Type: text/plain;
|
7326
|
+
charset=UTF-8
|
7327
|
+
Content-Transfer-Encoding: 7bit
|
7328
|
+
Content-ID: <4f26ff426ba25_dcb08166115c781c2@timly.local.mail>
|
7329
|
+
|
7330
|
+
Hello World
|
7331
|
+
|
7332
|
+
----==_mimepart_4f26ff425ceb5_dcb08166115c78081
|
7333
|
+
Date: Mon, 30 Jan 2012 12:36:18 -0800
|
7334
|
+
Mime-Version: 1.0
|
7335
|
+
Content-Type: text/html;
|
7336
|
+
charset=UTF-8
|
7337
|
+
Content-Transfer-Encoding: 7bit
|
7338
|
+
Content-ID: <4f26ff4273a80_dcb08166115c78268@timly.local.mail>
|
7339
|
+
|
7340
|
+
Hello World
|
7341
|
+
|
7342
|
+
----==_mimepart_4f26ff425ceb5_dcb08166115c78081--
|
7343
|
+
|
7344
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff3f816134dcb0000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:36:18 UTC}})
|
7345
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:18 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7346
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7348
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7349
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7350
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7351
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7353
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
7354
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
7355
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7356
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7357
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7358
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7359
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7360
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7361
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7362
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7363
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7364
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff4e816134dcb3000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:36:30 UTC, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7365
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff4e816134dcb3000001')}})
|
7366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7368
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7369
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7370
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7371
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7372
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7375
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7376
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7377
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7378
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7379
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7380
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7382
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7383
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7384
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7385
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7386
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7389
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7390
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7391
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7392
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7393
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7394
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7397
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7398
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7399
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7400
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7401
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7402
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7403
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff4e816134dcb3000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:36:30 UTC, "updated_at"=>2012-01-30 20:36:30 UTC, "created_at"=>2012-01-30 20:36:30 UTC}])
|
7404
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff4e816134dcb3000007')}})
|
7405
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:30 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7406
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:30 UTC}, :sent=>false}).limit(100)
|
7407
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f26ff4e816134dcb3000007')}).limit(-1).sort([[:_id, :asc]])
|
7408
|
+
Rendered inline template (20.3ms)
|
7409
|
+
Rendered inline template (0.3ms)
|
7410
|
+
|
7411
|
+
Sent mail to trcarden@gmail.com (149ms)
|
7412
|
+
Date: Mon, 30 Jan 2012 12:36:33 -0800
|
7413
|
+
From: test@test.com
|
7414
|
+
Reply-To: testGuy
|
7415
|
+
To: trcarden@gmail.com
|
7416
|
+
Message-ID: <4f26ff5188a97_dcb38052b77050250@timly.local.mail>
|
7417
|
+
Subject: test subject
|
7418
|
+
Mime-Version: 1.0
|
7419
|
+
Content-Type: multipart/alternative;
|
7420
|
+
boundary="--==_mimepart_4f26ff5163963_dcb38052b77049966";
|
7421
|
+
charset=UTF-8
|
7422
|
+
Content-Transfer-Encoding: 7bit
|
7423
|
+
|
7424
|
+
|
7425
|
+
|
7426
|
+
----==_mimepart_4f26ff5163963_dcb38052b77049966
|
7427
|
+
Date: Mon, 30 Jan 2012 12:36:33 -0800
|
7428
|
+
Mime-Version: 1.0
|
7429
|
+
Content-Type: text/plain;
|
7430
|
+
charset=UTF-8
|
7431
|
+
Content-Transfer-Encoding: 7bit
|
7432
|
+
Content-ID: <4f26ff517c50a_dcb38052b77050074@timly.local.mail>
|
7433
|
+
|
7434
|
+
Hello World
|
7435
|
+
|
7436
|
+
----==_mimepart_4f26ff5163963_dcb38052b77049966
|
7437
|
+
Date: Mon, 30 Jan 2012 12:36:33 -0800
|
7438
|
+
Mime-Version: 1.0
|
7439
|
+
Content-Type: text/html;
|
7440
|
+
charset=UTF-8
|
7441
|
+
Content-Transfer-Encoding: 7bit
|
7442
|
+
Content-ID: <4f26ff5184281_dcb38052b7705014@timly.local.mail>
|
7443
|
+
|
7444
|
+
Hello World
|
7445
|
+
|
7446
|
+
----==_mimepart_4f26ff5163963_dcb38052b77049966--
|
7447
|
+
|
7448
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff4e816134dcb3000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:36:33 UTC}})
|
7449
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:36:33 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7452
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7453
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7454
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7455
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7457
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7458
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7459
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7460
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7461
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7462
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7463
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7464
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7465
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7466
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff8d816134dcb7000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:37:33 UTC, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7467
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff8d816134dcb7000001')}})
|
7468
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7469
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7470
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7471
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7472
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7473
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7474
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7477
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7478
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7479
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7480
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7481
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7484
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7485
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7486
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7487
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7488
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7489
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7491
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7492
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7493
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7494
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7495
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7496
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7497
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7499
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7500
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7501
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7502
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7503
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7504
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7505
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ff8d816134dcb7000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:37:33 UTC, "updated_at"=>2012-01-30 20:37:33 UTC, "created_at"=>2012-01-30 20:37:33 UTC}])
|
7506
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ff8d816134dcb7000007')}})
|
7507
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:37:33 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7508
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:37:33 UTC}, :sent=>false}).limit(100)
|
7509
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f26ff8d816134dcb7000007')}).limit(-1).sort([[:_id, :asc]])
|
7510
|
+
Rendered inline template (18.2ms)
|
7511
|
+
Rendered inline template (0.3ms)
|
7512
|
+
|
7513
|
+
Sent mail to trcarden@gmail.com (104ms)
|
7514
|
+
Date: Mon, 30 Jan 2012 12:37:36 -0800
|
7515
|
+
From: test@test.com
|
7516
|
+
Reply-To: testGuy
|
7517
|
+
To: trcarden@gmail.com
|
7518
|
+
Message-ID: <4f26ff9084458_dcb780a36c601772@timly.local.mail>
|
7519
|
+
Subject: test subject
|
7520
|
+
Mime-Version: 1.0
|
7521
|
+
Content-Type: multipart/alternative;
|
7522
|
+
boundary="--==_mimepart_4f26ff906a47f_dcb780a36c6017461";
|
7523
|
+
charset=UTF-8
|
7524
|
+
Content-Transfer-Encoding: 7bit
|
7525
|
+
|
7526
|
+
|
7527
|
+
|
7528
|
+
----==_mimepart_4f26ff906a47f_dcb780a36c6017461
|
7529
|
+
Date: Mon, 30 Jan 2012 12:37:36 -0800
|
7530
|
+
Mime-Version: 1.0
|
7531
|
+
Content-Type: text/plain;
|
7532
|
+
charset=UTF-8
|
7533
|
+
Content-Transfer-Encoding: 7bit
|
7534
|
+
Content-ID: <4f26ff9078614_dcb780a36c60175cd@timly.local.mail>
|
7535
|
+
|
7536
|
+
Hello World
|
7537
|
+
|
7538
|
+
----==_mimepart_4f26ff906a47f_dcb780a36c6017461
|
7539
|
+
Date: Mon, 30 Jan 2012 12:37:36 -0800
|
7540
|
+
Mime-Version: 1.0
|
7541
|
+
Content-Type: text/html;
|
7542
|
+
charset=UTF-8
|
7543
|
+
Content-Transfer-Encoding: 7bit
|
7544
|
+
Content-ID: <4f26ff907fd9f_dcb780a36c6017666@timly.local.mail>
|
7545
|
+
|
7546
|
+
Hello World
|
7547
|
+
|
7548
|
+
----==_mimepart_4f26ff906a47f_dcb780a36c6017461--
|
7549
|
+
|
7550
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ff8d816134dcb7000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:37:36 UTC}})
|
7551
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:37:36 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7552
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7553
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7554
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7555
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7556
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7557
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7558
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7559
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7560
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7561
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7562
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7563
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7564
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7565
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7566
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7567
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7568
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffcb816134dcbc000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:38:35 UTC, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7569
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffcb816134dcbc000001')}})
|
7570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7572
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7573
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7574
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7575
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7576
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7577
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7579
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7580
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7581
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7582
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7583
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7586
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7587
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7588
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7589
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7590
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7591
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7593
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7594
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7595
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7596
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7597
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7598
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7599
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7600
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7601
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7602
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7603
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7604
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7605
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7606
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7607
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffcb816134dcbc000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:38:35 UTC, "updated_at"=>2012-01-30 20:38:35 UTC, "created_at"=>2012-01-30 20:38:35 UTC}])
|
7608
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffcb816134dcbc000007')}})
|
7609
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:38:35 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7610
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:38:35 UTC}, :sent=>false}).limit(100)
|
7611
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f26ffcb816134dcbc000007')}).limit(-1).sort([[:_id, :asc]])
|
7612
|
+
Rendered inline template (18.7ms)
|
7613
|
+
Rendered inline template (0.3ms)
|
7614
|
+
|
7615
|
+
Sent mail to trcarden@gmail.com (104ms)
|
7616
|
+
Date: Mon, 30 Jan 2012 12:38:38 -0800
|
7617
|
+
From: test@test.com
|
7618
|
+
Reply-To: testGuy
|
7619
|
+
To: trcarden@gmail.com
|
7620
|
+
Message-ID: <4f26ffce54736_dcbc81129978446f@timly.local.mail>
|
7621
|
+
Subject: test subject
|
7622
|
+
Mime-Version: 1.0
|
7623
|
+
Content-Type: multipart/alternative;
|
7624
|
+
boundary="--==_mimepart_4f26ffce3a746_dcbc811299784436d";
|
7625
|
+
charset=UTF-8
|
7626
|
+
Content-Transfer-Encoding: 7bit
|
7627
|
+
|
7628
|
+
|
7629
|
+
|
7630
|
+
----==_mimepart_4f26ffce3a746_dcbc811299784436d
|
7631
|
+
Date: Mon, 30 Jan 2012 12:38:38 -0800
|
7632
|
+
Mime-Version: 1.0
|
7633
|
+
Content-Type: text/plain;
|
7634
|
+
charset=UTF-8
|
7635
|
+
Content-Transfer-Encoding: 7bit
|
7636
|
+
Content-ID: <4f26ffce488fb_dcbc8112997844453@timly.local.mail>
|
7637
|
+
|
7638
|
+
Hello World
|
7639
|
+
|
7640
|
+
----==_mimepart_4f26ffce3a746_dcbc811299784436d
|
7641
|
+
Date: Mon, 30 Jan 2012 12:38:38 -0800
|
7642
|
+
Mime-Version: 1.0
|
7643
|
+
Content-Type: text/html;
|
7644
|
+
charset=UTF-8
|
7645
|
+
Content-Transfer-Encoding: 7bit
|
7646
|
+
Content-ID: <4f26ffce500b9_dcbc811299784452@timly.local.mail>
|
7647
|
+
|
7648
|
+
Hello World
|
7649
|
+
|
7650
|
+
----==_mimepart_4f26ffce3a746_dcbc811299784436d--
|
7651
|
+
|
7652
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffcb816134dcbc000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:38:38 UTC}})
|
7653
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:38:38 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7654
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7655
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7656
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7657
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7658
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7659
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7661
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
7662
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
7663
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7664
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7665
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7666
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7667
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7668
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7669
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7670
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7671
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7672
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffe3816134dcbf000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:38:59 UTC, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7673
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffe3816134dcbf000001')}})
|
7674
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7676
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7677
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7678
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7679
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7680
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7681
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7683
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7684
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7685
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7686
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7687
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7688
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7690
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7691
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7692
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7693
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7694
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7695
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7697
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7698
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7699
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7700
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7701
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7702
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7703
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7705
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7706
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7707
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7708
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7709
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7710
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7711
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffe3816134dcbf000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:38:59 UTC, "updated_at"=>2012-01-30 20:38:59 UTC, "created_at"=>2012-01-30 20:38:59 UTC}])
|
7712
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffe3816134dcbf000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffe3816134dcbf000007')}})
|
7713
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7715
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7716
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7717
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7718
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7719
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7720
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7721
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7722
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7723
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7724
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7725
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7726
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7727
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7728
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7729
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffef816134dcc2000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:11 UTC, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7730
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffef816134dcc2000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffef816134dcc2000001')}})
|
7731
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7733
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7734
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7735
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7736
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7737
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7738
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7740
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7741
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7742
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7743
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7744
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7747
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7748
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7749
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7750
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7751
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7752
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7754
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7755
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7756
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7757
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7758
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7759
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7760
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7762
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7763
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7764
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7765
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7766
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26ffef816134dcc2000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7767
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7768
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26ffef816134dcc2000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:11 UTC, "updated_at"=>2012-01-30 20:39:11 UTC, "created_at"=>2012-01-30 20:39:11 UTC}])
|
7769
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26ffef816134dcc2000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26ffef816134dcc2000007')}})
|
7770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7772
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7773
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7774
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7775
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7776
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7777
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
7778
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
7779
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7780
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7781
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7782
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7783
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7784
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7785
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7786
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7787
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7788
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26fffb816134dcc5000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:23 UTC, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7789
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26fffb816134dcc5000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26fffb816134dcc5000001')}})
|
7790
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7792
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7793
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7794
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7795
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7796
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7797
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7799
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7800
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7801
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7802
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7803
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7804
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7806
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7807
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7808
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7809
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7810
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7813
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7814
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7815
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7816
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7817
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7818
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7819
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7821
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7822
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7823
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7824
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7825
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f26fffb816134dcc5000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7826
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7827
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f26fffb816134dcc5000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:23 UTC, "updated_at"=>2012-01-30 20:39:23 UTC, "created_at"=>2012-01-30 20:39:23 UTC}])
|
7828
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f26fffb816134dcc5000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f26fffb816134dcc5000007')}})
|
7829
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:39:23 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7830
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7832
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7833
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7834
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7835
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7836
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7837
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
7838
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
7839
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7840
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7841
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7842
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7843
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7844
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7845
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7846
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7847
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7848
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27000d816134dcca000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:41 UTC, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7849
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27000d816134dcca000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27000d816134dcca000001')}})
|
7850
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7852
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7853
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7854
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7855
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7856
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7857
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7859
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7860
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7861
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7862
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7863
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7864
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7866
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7867
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7868
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7869
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7870
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7871
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7873
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7874
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7875
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7876
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7877
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7878
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7879
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7881
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7882
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7883
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7884
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7885
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27000d816134dcca000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7886
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7887
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27000d816134dcca000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:39:41 UTC, "updated_at"=>2012-01-30 20:39:41 UTC, "created_at"=>2012-01-30 20:39:41 UTC}])
|
7888
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27000d816134dcca000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27000d816134dcca000007')}})
|
7889
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:39:41 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7890
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:39:41 UTC}, :sent=>false}).limit(100)
|
7891
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f27000d816134dcca000007')}).limit(-1).sort([[:_id, :asc]])
|
7892
|
+
Rendered inline template (18.2ms)
|
7893
|
+
Rendered inline template (0.3ms)
|
7894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7896
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7897
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7898
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7899
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7900
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7901
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
7902
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
7903
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7904
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7905
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7906
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7907
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
7908
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7909
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7910
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7911
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7912
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270023816134dccd000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:40:03 UTC, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7913
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270023816134dccd000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270023816134dccd000001')}})
|
7914
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7915
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7916
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7917
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7918
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7919
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7920
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7921
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7923
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7924
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7925
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7926
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7927
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7930
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7931
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7932
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7933
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7934
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7935
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7937
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7938
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7939
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7940
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7941
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7942
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
7943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7945
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
7946
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
7947
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
7948
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
7949
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270023816134dccd000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7950
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
7951
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270023816134dccd000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:40:03 UTC, "updated_at"=>2012-01-30 20:40:03 UTC, "created_at"=>2012-01-30 20:40:03 UTC}])
|
7952
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270023816134dccd000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270023816134dccd000007')}})
|
7953
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:03 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7954
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:03 UTC}, :sent=>false}).limit(100)
|
7955
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f270023816134dccd000007')}).limit(-1).sort([[:_id, :asc]])
|
7956
|
+
Rendered inline template (18.3ms)
|
7957
|
+
Rendered inline template (0.3ms)
|
7958
|
+
|
7959
|
+
Sent mail to trcarden@gmail.com (142ms)
|
7960
|
+
Date: Mon, 30 Jan 2012 12:40:05 -0800
|
7961
|
+
From: test@test.com
|
7962
|
+
Reply-To: testGuy
|
7963
|
+
To: trcarden@gmail.com
|
7964
|
+
Message-ID: <4f270025bf0cd_dccd808e809837946@timly.local.mail>
|
7965
|
+
Subject: test subject
|
7966
|
+
Mime-Version: 1.0
|
7967
|
+
Content-Type: multipart/alternative;
|
7968
|
+
boundary="--==_mimepart_4f2700259bacb_dccd808e809837649";
|
7969
|
+
charset=UTF-8
|
7970
|
+
Content-Transfer-Encoding: 7bit
|
7971
|
+
|
7972
|
+
|
7973
|
+
|
7974
|
+
----==_mimepart_4f2700259bacb_dccd808e809837649
|
7975
|
+
Date: Mon, 30 Jan 2012 12:40:05 -0800
|
7976
|
+
Mime-Version: 1.0
|
7977
|
+
Content-Type: text/plain;
|
7978
|
+
charset=UTF-8
|
7979
|
+
Content-Transfer-Encoding: 7bit
|
7980
|
+
Content-ID: <4f270025b2e2f_dccd808e8098377cd@timly.local.mail>
|
7981
|
+
|
7982
|
+
Hello World
|
7983
|
+
|
7984
|
+
----==_mimepart_4f2700259bacb_dccd808e809837649
|
7985
|
+
Date: Mon, 30 Jan 2012 12:40:05 -0800
|
7986
|
+
Mime-Version: 1.0
|
7987
|
+
Content-Type: text/html;
|
7988
|
+
charset=UTF-8
|
7989
|
+
Content-Transfer-Encoding: 7bit
|
7990
|
+
Content-ID: <4f270025ba873_dccd808e8098378f3@timly.local.mail>
|
7991
|
+
|
7992
|
+
Hello World
|
7993
|
+
|
7994
|
+
----==_mimepart_4f2700259bacb_dccd808e809837649--
|
7995
|
+
|
7996
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270023816134dccd000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:40:05 UTC}})
|
7997
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:05 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
7998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8000
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8001
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8002
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8003
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8004
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8005
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8006
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8007
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8008
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8009
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8010
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8011
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8012
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8013
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8014
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8015
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8016
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270046816134dcd2000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:40:38 UTC, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8017
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270046816134dcd2000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270046816134dcd2000001')}})
|
8018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8020
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8021
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8022
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8023
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8024
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8025
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8027
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8028
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8029
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8030
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8031
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8034
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8035
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8036
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8037
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8038
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8041
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8042
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8043
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8044
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8045
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8046
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8047
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8049
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8050
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8051
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8052
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8053
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270046816134dcd2000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8054
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8055
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270046816134dcd2000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:40:38 UTC, "updated_at"=>2012-01-30 20:40:38 UTC, "created_at"=>2012-01-30 20:40:38 UTC}])
|
8056
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270046816134dcd2000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270046816134dcd2000007')}})
|
8057
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:38 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8058
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:38 UTC}, :sent=>false}).limit(100)
|
8059
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f270046816134dcd2000007')}).limit(-1).sort([[:_id, :asc]])
|
8060
|
+
Rendered inline template (18.5ms)
|
8061
|
+
Rendered inline template (0.3ms)
|
8062
|
+
|
8063
|
+
Sent mail to trcarden@gmail.com (22ms)
|
8064
|
+
Date: Mon, 30 Jan 2012 12:40:41 -0800
|
8065
|
+
From: test@test.com
|
8066
|
+
Reply-To: testGuy
|
8067
|
+
To: trcarden@gmail.com
|
8068
|
+
Message-ID: <4f2700493f2ad_dcd2810540fc37072@timly.local.mail>
|
8069
|
+
Subject: test subject
|
8070
|
+
Mime-Version: 1.0
|
8071
|
+
Content-Type: multipart/alternative;
|
8072
|
+
boundary="--==_mimepart_4f2700491f584_dcd2810540fc367d";
|
8073
|
+
charset=UTF-8
|
8074
|
+
Content-Transfer-Encoding: 7bit
|
8075
|
+
|
8076
|
+
|
8077
|
+
|
8078
|
+
----==_mimepart_4f2700491f584_dcd2810540fc367d
|
8079
|
+
Date: Mon, 30 Jan 2012 12:40:41 -0800
|
8080
|
+
Mime-Version: 1.0
|
8081
|
+
Content-Type: text/plain;
|
8082
|
+
charset=UTF-8
|
8083
|
+
Content-Transfer-Encoding: 7bit
|
8084
|
+
Content-ID: <4f27004933508_dcd2810540fc368b@timly.local.mail>
|
8085
|
+
|
8086
|
+
Hello World
|
8087
|
+
|
8088
|
+
----==_mimepart_4f2700491f584_dcd2810540fc367d
|
8089
|
+
Date: Mon, 30 Jan 2012 12:40:41 -0800
|
8090
|
+
Mime-Version: 1.0
|
8091
|
+
Content-Type: text/html;
|
8092
|
+
charset=UTF-8
|
8093
|
+
Content-Transfer-Encoding: 7bit
|
8094
|
+
Content-ID: <4f2700493ac91_dcd2810540fc3693d@timly.local.mail>
|
8095
|
+
|
8096
|
+
Hello World
|
8097
|
+
|
8098
|
+
----==_mimepart_4f2700491f584_dcd2810540fc367d--
|
8099
|
+
|
8100
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270046816134dcd2000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:40:41 UTC}})
|
8101
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:40:41 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8104
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8105
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8106
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8107
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8108
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8109
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8110
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8111
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8112
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8113
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8114
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8115
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8116
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8117
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8118
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270062816134dcd5000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:41:06 UTC, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8119
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270062816134dcd5000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270062816134dcd5000001')}})
|
8120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8122
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8123
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8124
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8125
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8126
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8127
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8129
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8130
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8131
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8132
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8133
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8136
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8137
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8138
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8139
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8140
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8141
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8143
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8144
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8145
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8146
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8147
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8148
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8149
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8151
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8152
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8153
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8154
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8155
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270062816134dcd5000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8156
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8157
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270062816134dcd5000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:41:06 UTC, "updated_at"=>2012-01-30 20:41:06 UTC, "created_at"=>2012-01-30 20:41:06 UTC}])
|
8158
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270062816134dcd5000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270062816134dcd5000007')}})
|
8159
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:41:06 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8160
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:41:06 UTC}, :sent=>false}).limit(100)
|
8161
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f270062816134dcd5000007')}).limit(-1).sort([[:_id, :asc]])
|
8162
|
+
Rendered inline template (18.7ms)
|
8163
|
+
Rendered inline template (0.4ms)
|
8164
|
+
|
8165
|
+
Sent mail to trcarden@gmail.com (20ms)
|
8166
|
+
Date: Mon, 30 Jan 2012 12:41:09 -0800
|
8167
|
+
From: test@test.com
|
8168
|
+
Reply-To: testGuy
|
8169
|
+
To: trcarden@gmail.com
|
8170
|
+
Message-ID: <4f27006555040_dcd58133ebb4686a@timly.local.mail>
|
8171
|
+
Subject: test subject
|
8172
|
+
Mime-Version: 1.0
|
8173
|
+
Content-Type: multipart/alternative;
|
8174
|
+
boundary="--==_mimepart_4f2700653db7e_dcd58133ebb468355";
|
8175
|
+
charset=UTF-8
|
8176
|
+
Content-Transfer-Encoding: 7bit
|
8177
|
+
|
8178
|
+
|
8179
|
+
|
8180
|
+
----==_mimepart_4f2700653db7e_dcd58133ebb468355
|
8181
|
+
Date: Mon, 30 Jan 2012 12:41:09 -0800
|
8182
|
+
Mime-Version: 1.0
|
8183
|
+
Content-Type: text/plain;
|
8184
|
+
charset=UTF-8
|
8185
|
+
Content-Transfer-Encoding: 7bit
|
8186
|
+
Content-ID: <4f2700654818c_dcd58133ebb4684b1@timly.local.mail>
|
8187
|
+
|
8188
|
+
Hello World
|
8189
|
+
|
8190
|
+
----==_mimepart_4f2700653db7e_dcd58133ebb468355
|
8191
|
+
Date: Mon, 30 Jan 2012 12:41:09 -0800
|
8192
|
+
Mime-Version: 1.0
|
8193
|
+
Content-Type: text/html;
|
8194
|
+
charset=UTF-8
|
8195
|
+
Content-Transfer-Encoding: 7bit
|
8196
|
+
Content-ID: <4f270065505ed_dcd58133ebb4685b7@timly.local.mail>
|
8197
|
+
|
8198
|
+
Hello World
|
8199
|
+
|
8200
|
+
----==_mimepart_4f2700653db7e_dcd58133ebb468355--
|
8201
|
+
|
8202
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270062816134dcd5000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:41:09 UTC}})
|
8203
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:41:09 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8205
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8206
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8207
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8208
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8209
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8211
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8212
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8213
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8214
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8215
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8216
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8217
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8218
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8219
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8220
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8221
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8222
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270070816134dcd8000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:41:20 UTC, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8223
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270070816134dcd8000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270070816134dcd8000001')}})
|
8224
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8226
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8227
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8228
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8229
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8230
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8233
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8234
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8235
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8236
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8237
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8240
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8241
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8242
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8243
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8244
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8245
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8247
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8248
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8249
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8250
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8251
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8252
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8253
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8255
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8256
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8257
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8258
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8259
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f270070816134dcd8000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8260
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8261
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f270070816134dcd8000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:41:20 UTC, "updated_at"=>2012-01-30 20:41:20 UTC, "created_at"=>2012-01-30 20:41:20 UTC}])
|
8262
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f270070816134dcd8000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f270070816134dcd8000007')}})
|
8263
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:41:20 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8264
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:41:20 UTC}, :sent=>false}).limit(100)
|
8265
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f270070816134dcd8000007')}).limit(-1).sort([[:_id, :asc]])
|
8266
|
+
Rendered inline template (18.0ms)
|
8267
|
+
Rendered inline template (0.3ms)
|
8268
|
+
|
8269
|
+
Sent mail to trcarden@gmail.com (19ms)
|
8270
|
+
Date: Mon, 30 Jan 2012 12:41:22 -0800
|
8271
|
+
From: test@test.com
|
8272
|
+
Reply-To: testGuy
|
8273
|
+
To: trcarden@gmail.com
|
8274
|
+
Message-ID: <4f270072aea48_dcd8804afddc38d3@timly.local.mail>
|
8275
|
+
Subject: test subject
|
8276
|
+
Mime-Version: 1.0
|
8277
|
+
Content-Type: multipart/alternative;
|
8278
|
+
boundary="--==_mimepart_4f2700728ef8d_dcd8804afddc35dc";
|
8279
|
+
charset=UTF-8
|
8280
|
+
Content-Transfer-Encoding: 7bit
|
8281
|
+
|
8282
|
+
|
8283
|
+
|
8284
|
+
----==_mimepart_4f2700728ef8d_dcd8804afddc35dc
|
8285
|
+
Date: Mon, 30 Jan 2012 12:41:22 -0800
|
8286
|
+
Mime-Version: 1.0
|
8287
|
+
Content-Type: text/plain;
|
8288
|
+
charset=UTF-8
|
8289
|
+
Content-Transfer-Encoding: 7bit
|
8290
|
+
Content-ID: <4f270072a2c70_dcd8804afddc3620@timly.local.mail>
|
8291
|
+
|
8292
|
+
Hello World
|
8293
|
+
|
8294
|
+
----==_mimepart_4f2700728ef8d_dcd8804afddc35dc
|
8295
|
+
Date: Mon, 30 Jan 2012 12:41:22 -0800
|
8296
|
+
Mime-Version: 1.0
|
8297
|
+
Content-Type: text/html;
|
8298
|
+
charset=UTF-8
|
8299
|
+
Content-Transfer-Encoding: 7bit
|
8300
|
+
Content-ID: <4f270072aa430_dcd8804afddc374f@timly.local.mail>
|
8301
|
+
|
8302
|
+
Hello World
|
8303
|
+
|
8304
|
+
----==_mimepart_4f2700728ef8d_dcd8804afddc35dc--
|
8305
|
+
|
8306
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8308
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8309
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8310
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8311
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8312
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8313
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8314
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8315
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8316
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8317
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8318
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8319
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8320
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8321
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8322
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8323
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8324
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2700ee816134dce6000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:43:26 UTC, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8325
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2700ee816134dce6000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2700ee816134dce6000001')}})
|
8326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8328
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8329
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8330
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8331
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8332
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8333
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8335
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8336
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8337
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8338
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8339
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8342
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8343
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8344
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8345
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8346
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8347
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8348
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8349
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8350
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8351
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8352
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8353
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8354
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8355
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8357
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8358
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8359
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8360
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8361
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2700ee816134dce6000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8362
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8363
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2700ee816134dce6000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:43:26 UTC, "updated_at"=>2012-01-30 20:43:26 UTC, "created_at"=>2012-01-30 20:43:26 UTC}])
|
8364
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2700ee816134dce6000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2700ee816134dce6000007')}})
|
8365
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:43:26 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8366
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:43:26 UTC}, :sent=>false}).limit(100)
|
8367
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2700ee816134dce6000007')}).limit(-1).sort([[:_id, :asc]])
|
8368
|
+
Rendered inline template (18.2ms)
|
8369
|
+
Rendered inline template (0.3ms)
|
8370
|
+
|
8371
|
+
Sent mail to trcarden@gmail.com (2231ms)
|
8372
|
+
Date: Mon, 30 Jan 2012 12:43:29 -0800
|
8373
|
+
From: test@test.com
|
8374
|
+
Reply-To: testGuy
|
8375
|
+
To: trcarden@gmail.com
|
8376
|
+
Message-ID: <4f2700f150873_dce6805a4800939b3@timly.local.mail>
|
8377
|
+
Subject: test subject
|
8378
|
+
Mime-Version: 1.0
|
8379
|
+
Content-Type: multipart/alternative;
|
8380
|
+
boundary="--==_mimepart_4f2700f130b3c_dce6805a4800936cc";
|
8381
|
+
charset=UTF-8
|
8382
|
+
Content-Transfer-Encoding: 7bit
|
8383
|
+
|
8384
|
+
|
8385
|
+
|
8386
|
+
----==_mimepart_4f2700f130b3c_dce6805a4800936cc
|
8387
|
+
Date: Mon, 30 Jan 2012 12:43:29 -0800
|
8388
|
+
Mime-Version: 1.0
|
8389
|
+
Content-Type: text/plain;
|
8390
|
+
charset=UTF-8
|
8391
|
+
Content-Transfer-Encoding: 7bit
|
8392
|
+
Content-ID: <4f2700f1448a0_dce6805a4800937c@timly.local.mail>
|
8393
|
+
|
8394
|
+
Hello World
|
8395
|
+
|
8396
|
+
----==_mimepart_4f2700f130b3c_dce6805a4800936cc
|
8397
|
+
Date: Mon, 30 Jan 2012 12:43:29 -0800
|
8398
|
+
Mime-Version: 1.0
|
8399
|
+
Content-Type: text/html;
|
8400
|
+
charset=UTF-8
|
8401
|
+
Content-Transfer-Encoding: 7bit
|
8402
|
+
Content-ID: <4f2700f14c0eb_dce6805a4800938f2@timly.local.mail>
|
8403
|
+
|
8404
|
+
Hello World
|
8405
|
+
|
8406
|
+
----==_mimepart_4f2700f130b3c_dce6805a4800936cc--
|
8407
|
+
|
8408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8409
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8410
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8411
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8412
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8413
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8414
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8415
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8416
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8417
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8418
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8419
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8420
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8421
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8422
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8423
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8424
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010e816134dceb000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8425
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8426
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27010f816134dceb000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:43:59 UTC, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8427
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27010f816134dceb000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27010e816134dceb000001')}})
|
8428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8430
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8431
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8432
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8433
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8434
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010f816134dceb000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8435
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8437
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8438
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8439
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8440
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8441
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010f816134dceb000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8442
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8444
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8445
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8446
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8447
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8448
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010f816134dceb000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8449
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8451
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8452
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8453
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8454
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8455
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010f816134dceb000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8456
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8457
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8459
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8460
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8461
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8462
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8463
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27010f816134dceb000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8464
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8465
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27010f816134dceb000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 20:43:59 UTC, "updated_at"=>2012-01-30 20:43:59 UTC, "created_at"=>2012-01-30 20:43:59 UTC}])
|
8466
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27010f816134dceb000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27010f816134dceb000007')}})
|
8467
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:43:59 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8468
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:43:59 UTC}, :sent=>false}).limit(100)
|
8469
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f27010f816134dceb000007')}).limit(-1).sort([[:_id, :asc]])
|
8470
|
+
Rendered inline template (19.5ms)
|
8471
|
+
Rendered inline template (0.3ms)
|
8472
|
+
|
8473
|
+
Sent mail to trcarden@gmail.com (906ms)
|
8474
|
+
Date: Mon, 30 Jan 2012 12:44:01 -0800
|
8475
|
+
From: test@test.com
|
8476
|
+
Reply-To: testGuy
|
8477
|
+
To: trcarden@gmail.com
|
8478
|
+
Message-ID: <4f270111aa454_dceb8049593c9579f@timly.local.mail>
|
8479
|
+
Subject: test subject
|
8480
|
+
Mime-Version: 1.0
|
8481
|
+
Content-Type: multipart/alternative;
|
8482
|
+
boundary="--==_mimepart_4f27011189de0_dceb8049593c954ea";
|
8483
|
+
charset=UTF-8
|
8484
|
+
Content-Transfer-Encoding: 7bit
|
8485
|
+
|
8486
|
+
|
8487
|
+
|
8488
|
+
----==_mimepart_4f27011189de0_dceb8049593c954ea
|
8489
|
+
Date: Mon, 30 Jan 2012 12:44:01 -0800
|
8490
|
+
Mime-Version: 1.0
|
8491
|
+
Content-Type: text/plain;
|
8492
|
+
charset=UTF-8
|
8493
|
+
Content-Transfer-Encoding: 7bit
|
8494
|
+
Content-ID: <4f2701119e16f_dceb8049593c955a9@timly.local.mail>
|
8495
|
+
|
8496
|
+
Hello World
|
8497
|
+
|
8498
|
+
----==_mimepart_4f27011189de0_dceb8049593c954ea
|
8499
|
+
Date: Mon, 30 Jan 2012 12:44:01 -0800
|
8500
|
+
Mime-Version: 1.0
|
8501
|
+
Content-Type: text/html;
|
8502
|
+
charset=UTF-8
|
8503
|
+
Content-Transfer-Encoding: 7bit
|
8504
|
+
Content-ID: <4f270111a5bb3_dceb8049593c9568c@timly.local.mail>
|
8505
|
+
|
8506
|
+
Hello World
|
8507
|
+
|
8508
|
+
----==_mimepart_4f27011189de0_dceb8049593c954ea--
|
8509
|
+
|
8510
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27010f816134dceb000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 20:44:02 UTC}})
|
8511
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 20:44:02 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8512
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8514
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8515
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8516
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8517
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8518
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8519
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8520
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8521
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8522
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8523
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8524
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8525
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8526
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8527
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8528
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8529
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8530
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f271e26816134df16000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 22:48:06 UTC, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8531
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271e26816134df16000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f271e26816134df16000001')}})
|
8532
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8534
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8535
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8536
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8537
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8538
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8541
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8542
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8543
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8544
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8545
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8546
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8548
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8549
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8550
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8551
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8552
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8553
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8554
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8555
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8556
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8557
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8558
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8559
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8560
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8561
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8563
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8564
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8565
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8566
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8567
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271e26816134df16000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8568
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8569
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f271e26816134df16000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 22:48:06 UTC, "updated_at"=>2012-01-30 22:48:06 UTC, "created_at"=>2012-01-30 22:48:06 UTC}])
|
8570
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271e26816134df16000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f271e26816134df16000007')}})
|
8571
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:48:06 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8572
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:48:06 UTC}, :sent=>false}).limit(100)
|
8573
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f271e26816134df16000007')}).limit(-1).sort([[:_id, :asc]])
|
8574
|
+
Rendered inline template (18.3ms)
|
8575
|
+
Rendered inline template (0.3ms)
|
8576
|
+
|
8577
|
+
Sent mail to trcarden@gmail.com (1077ms)
|
8578
|
+
Date: Mon, 30 Jan 2012 14:48:09 -0800
|
8579
|
+
From: test@test.com
|
8580
|
+
Reply-To: testGuy
|
8581
|
+
To: trcarden@gmail.com
|
8582
|
+
Message-ID: <4f271e295c3ad_df16804f4554267b5@timly.local.mail>
|
8583
|
+
Subject: test subject
|
8584
|
+
Mime-Version: 1.0
|
8585
|
+
Content-Type: multipart/alternative;
|
8586
|
+
boundary="--==_mimepart_4f271e2937b32_df16804f455426453";
|
8587
|
+
charset=UTF-8
|
8588
|
+
Content-Transfer-Encoding: 7bit
|
8589
|
+
|
8590
|
+
|
8591
|
+
|
8592
|
+
----==_mimepart_4f271e2937b32_df16804f455426453
|
8593
|
+
Date: Mon, 30 Jan 2012 14:48:09 -0800
|
8594
|
+
Mime-Version: 1.0
|
8595
|
+
Content-Type: text/plain;
|
8596
|
+
charset=UTF-8
|
8597
|
+
Content-Transfer-Encoding: 7bit
|
8598
|
+
Content-ID: <4f271e294f88b_df16804f455426541@timly.local.mail>
|
8599
|
+
|
8600
|
+
Hello World
|
8601
|
+
|
8602
|
+
----==_mimepart_4f271e2937b32_df16804f455426453
|
8603
|
+
Date: Mon, 30 Jan 2012 14:48:09 -0800
|
8604
|
+
Mime-Version: 1.0
|
8605
|
+
Content-Type: text/html;
|
8606
|
+
charset=UTF-8
|
8607
|
+
Content-Transfer-Encoding: 7bit
|
8608
|
+
Content-ID: <4f271e2957987_df16804f45542665e@timly.local.mail>
|
8609
|
+
|
8610
|
+
Hello World
|
8611
|
+
|
8612
|
+
----==_mimepart_4f271e2937b32_df16804f455426453--
|
8613
|
+
|
8614
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271e26816134df16000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 22:48:10 UTC}})
|
8615
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:48:10 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8616
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8617
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8618
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8619
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8620
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8621
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8622
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8623
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8624
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8625
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8626
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8627
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8628
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8629
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8630
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8631
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8632
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f271fba816134df34000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 22:54:50 UTC, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8633
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271fba816134df34000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f271fba816134df34000001')}})
|
8634
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8635
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8636
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8637
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8638
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8639
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8640
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8641
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8643
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8644
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8645
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8646
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8647
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8648
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8650
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8651
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8652
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8653
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8654
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8655
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8656
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8657
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8658
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8659
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8660
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8661
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8662
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8663
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8665
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8666
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8667
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8668
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8669
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fba816134df34000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8670
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8671
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f271fba816134df34000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 22:54:50 UTC, "updated_at"=>2012-01-30 22:54:50 UTC, "created_at"=>2012-01-30 22:54:50 UTC}])
|
8672
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271fba816134df34000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f271fba816134df34000007')}})
|
8673
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:54:50 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8674
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:54:50 UTC}, :sent=>false}).limit(100)
|
8675
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f271fba816134df34000007')}).limit(-1).sort([[:_id, :asc]])
|
8676
|
+
Rendered inline template (18.1ms)
|
8677
|
+
Rendered inline template (0.3ms)
|
8678
|
+
|
8679
|
+
Sent mail to trcarden@gmail.com (1539ms)
|
8680
|
+
Date: Mon, 30 Jan 2012 14:54:53 -0800
|
8681
|
+
From: test@test.com
|
8682
|
+
Reply-To: testGuy
|
8683
|
+
To: trcarden@gmail.com
|
8684
|
+
Message-ID: <4f271fbd3e00b_df3480b07ff444068@timly.local.mail>
|
8685
|
+
Subject: test subject
|
8686
|
+
Mime-Version: 1.0
|
8687
|
+
Content-Type: multipart/alternative;
|
8688
|
+
boundary="--==_mimepart_4f271fbd23ea5_df3480b07ff44378e";
|
8689
|
+
charset=UTF-8
|
8690
|
+
Content-Transfer-Encoding: 7bit
|
8691
|
+
|
8692
|
+
|
8693
|
+
|
8694
|
+
----==_mimepart_4f271fbd23ea5_df3480b07ff44378e
|
8695
|
+
Date: Mon, 30 Jan 2012 14:54:53 -0800
|
8696
|
+
Mime-Version: 1.0
|
8697
|
+
Content-Type: text/plain;
|
8698
|
+
charset=UTF-8
|
8699
|
+
Content-Transfer-Encoding: 7bit
|
8700
|
+
Content-ID: <4f271fbd31d26_df3480b07ff4438aa@timly.local.mail>
|
8701
|
+
|
8702
|
+
Hello World
|
8703
|
+
|
8704
|
+
----==_mimepart_4f271fbd23ea5_df3480b07ff44378e
|
8705
|
+
Date: Mon, 30 Jan 2012 14:54:53 -0800
|
8706
|
+
Mime-Version: 1.0
|
8707
|
+
Content-Type: text/html;
|
8708
|
+
charset=UTF-8
|
8709
|
+
Content-Transfer-Encoding: 7bit
|
8710
|
+
Content-ID: <4f271fbd39839_df3480b07ff44399@timly.local.mail>
|
8711
|
+
|
8712
|
+
Hello World
|
8713
|
+
|
8714
|
+
----==_mimepart_4f271fbd23ea5_df3480b07ff44378e--
|
8715
|
+
|
8716
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271fba816134df34000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 22:54:54 UTC}})
|
8717
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 22:54:54 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8718
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8719
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8720
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8721
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8722
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8723
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8725
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8726
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8727
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f271fe0816134df3b000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-30 22:55:29 UTC, "created_at"=>2012-01-30 22:55:29 UTC}])
|
8728
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
8729
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8730
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f271fe1816134df3b000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 22:55:29 UTC, "updated_at"=>2012-01-30 22:55:29 UTC, "created_at"=>2012-01-30 22:55:29 UTC}])
|
8731
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f271fe1816134df3b000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f271fe0816134df3b000001')}})
|
8732
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
8733
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f271fe0816134df3b000001')}).limit(-1).sort([[:_id, :asc]])
|
8734
|
+
Rendered inline template (56.4ms)
|
8735
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8736
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8737
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8738
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8741
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8742
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8743
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8744
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8746
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8747
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8748
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8749
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8750
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8751
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8752
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8753
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8754
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8755
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8756
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8757
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8758
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8759
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8760
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8761
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8762
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8763
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27267f816134dfa5000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:23:43 UTC, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8764
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27267f816134dfa5000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27267f816134dfa5000001')}})
|
8765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8766
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8767
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8768
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8769
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8770
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8771
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8772
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8774
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8775
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8776
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8777
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8778
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8779
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8780
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8781
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8782
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8783
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8784
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8785
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8786
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8788
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8789
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8790
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8791
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8792
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8793
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8794
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8796
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8797
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8798
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8799
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8800
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f27267f816134dfa5000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8801
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8802
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f27267f816134dfa5000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:23:43 UTC, "updated_at"=>2012-01-30 23:23:43 UTC, "created_at"=>2012-01-30 23:23:43 UTC}])
|
8803
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f27267f816134dfa5000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f27267f816134dfa5000007')}})
|
8804
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:23:43 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8805
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:23:43 UTC}, :sent=>false}).limit(100)
|
8806
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f27267f816134dfa5000007')}).limit(-1).sort([[:_id, :asc]])
|
8807
|
+
Rendered inline template (19.1ms)
|
8808
|
+
Rendered inline template (0.3ms)
|
8809
|
+
|
8810
|
+
Sent mail to trcarden@gmail.com (874ms)
|
8811
|
+
Date: Mon, 30 Jan 2012 15:23:46 -0800
|
8812
|
+
From: test@test.com
|
8813
|
+
Reply-To: testGuy
|
8814
|
+
To: trcarden@gmail.com
|
8815
|
+
Message-ID: <4f27268214890_dfa5804d4c9049193@timly.local.mail>
|
8816
|
+
Subject: test subject
|
8817
|
+
Mime-Version: 1.0
|
8818
|
+
Content-Type: multipart/alternative;
|
8819
|
+
boundary="--==_mimepart_4f272681e30c6_dfa5804d4c90488f1";
|
8820
|
+
charset=UTF-8
|
8821
|
+
Content-Transfer-Encoding: 7bit
|
8822
|
+
|
8823
|
+
|
8824
|
+
|
8825
|
+
----==_mimepart_4f272681e30c6_dfa5804d4c90488f1
|
8826
|
+
Date: Mon, 30 Jan 2012 15:23:46 -0800
|
8827
|
+
Mime-Version: 1.0
|
8828
|
+
Content-Type: text/plain;
|
8829
|
+
charset=UTF-8
|
8830
|
+
Content-Transfer-Encoding: 7bit
|
8831
|
+
Content-ID: <4f27268283a2_dfa5804d4c90489fa@timly.local.mail>
|
8832
|
+
|
8833
|
+
Hello World
|
8834
|
+
|
8835
|
+
----==_mimepart_4f272681e30c6_dfa5804d4c90488f1
|
8836
|
+
Date: Mon, 30 Jan 2012 15:23:46 -0800
|
8837
|
+
Mime-Version: 1.0
|
8838
|
+
Content-Type: text/html;
|
8839
|
+
charset=UTF-8
|
8840
|
+
Content-Transfer-Encoding: 7bit
|
8841
|
+
Content-ID: <4f27268210102_dfa5804d4c9049079@timly.local.mail>
|
8842
|
+
|
8843
|
+
Hello World
|
8844
|
+
|
8845
|
+
----==_mimepart_4f272681e30c6_dfa5804d4c90488f1--
|
8846
|
+
|
8847
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8849
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8850
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8851
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8852
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8853
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8854
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8855
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8856
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8857
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8858
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8859
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8860
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8861
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8862
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8863
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2727a6816134dfb6000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:28:38 UTC, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8864
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2727a6816134dfb6000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2727a6816134dfb6000001')}})
|
8865
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8867
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8868
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8869
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8870
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8871
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8872
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8874
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8875
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8876
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8877
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8878
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8879
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8881
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8882
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8883
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8884
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8885
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8886
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8888
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8889
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8890
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8891
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8892
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8893
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8894
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8895
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8896
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8897
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8898
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8899
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8900
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727a6816134dfb6000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8901
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8902
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2727a6816134dfb6000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:28:38 UTC, "updated_at"=>2012-01-30 23:28:38 UTC, "created_at"=>2012-01-30 23:28:38 UTC}])
|
8903
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2727a6816134dfb6000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2727a6816134dfb6000007')}})
|
8904
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:28:38 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
8905
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:28:38 UTC}, :sent=>false}).limit(100)
|
8906
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2727a6816134dfb6000007')}).limit(-1).sort([[:_id, :asc]])
|
8907
|
+
Rendered inline template (17.7ms)
|
8908
|
+
Rendered inline template (0.3ms)
|
8909
|
+
|
8910
|
+
Sent mail to trcarden@gmail.com (1493ms)
|
8911
|
+
Date: Mon, 30 Jan 2012 15:28:41 -0800
|
8912
|
+
From: test@test.com
|
8913
|
+
Reply-To: testGuy
|
8914
|
+
To: trcarden@gmail.com
|
8915
|
+
Message-ID: <4f2727a980db_dfb681076738219c3@timly.local.mail>
|
8916
|
+
Subject: test subject
|
8917
|
+
Mime-Version: 1.0
|
8918
|
+
Content-Type: multipart/alternative;
|
8919
|
+
boundary="--==_mimepart_4f2727a8d8ef1_dfb681076738216c9";
|
8920
|
+
charset=UTF-8
|
8921
|
+
Content-Transfer-Encoding: 7bit
|
8922
|
+
|
8923
|
+
|
8924
|
+
|
8925
|
+
----==_mimepart_4f2727a8d8ef1_dfb681076738216c9
|
8926
|
+
Date: Mon, 30 Jan 2012 15:28:41 -0800
|
8927
|
+
Mime-Version: 1.0
|
8928
|
+
Content-Type: text/plain;
|
8929
|
+
charset=UTF-8
|
8930
|
+
Content-Transfer-Encoding: 7bit
|
8931
|
+
Content-ID: <4f2727a8f04d3_dfb681076738217eb@timly.local.mail>
|
8932
|
+
|
8933
|
+
Hello World
|
8934
|
+
|
8935
|
+
----==_mimepart_4f2727a8d8ef1_dfb681076738216c9
|
8936
|
+
Date: Mon, 30 Jan 2012 15:28:41 -0800
|
8937
|
+
Mime-Version: 1.0
|
8938
|
+
Content-Type: text/html;
|
8939
|
+
charset=UTF-8
|
8940
|
+
Content-Transfer-Encoding: 7bit
|
8941
|
+
Content-ID: <4f2727a939f8_dfb681076738218f9@timly.local.mail>
|
8942
|
+
|
8943
|
+
Hello World
|
8944
|
+
|
8945
|
+
----==_mimepart_4f2727a8d8ef1_dfb681076738216c9--
|
8946
|
+
|
8947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8949
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8950
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8951
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8952
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8954
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
8955
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
8956
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8957
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8958
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8959
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8960
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
8961
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8962
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8963
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8964
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
8965
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2727bd816134dfba000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:29:01 UTC, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8966
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2727bd816134dfba000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2727bd816134dfba000001')}})
|
8967
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8969
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8970
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8971
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8972
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8973
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8974
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8976
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8977
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8978
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8979
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8980
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8981
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8983
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8984
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8985
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8986
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8987
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8990
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8991
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
8992
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
8993
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
8994
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
8995
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
8996
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8998
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
8999
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9000
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9001
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9002
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2727bd816134dfba000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
9003
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
9004
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2727bd816134dfba000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-30 23:29:01 UTC, "updated_at"=>2012-01-30 23:29:01 UTC, "created_at"=>2012-01-30 23:29:01 UTC}])
|
9005
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2727bd816134dfba000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2727bd816134dfba000007')}})
|
9006
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:29:01 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9007
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:29:01 UTC}, :sent=>false}).limit(100)
|
9008
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2727bd816134dfba000007')}).limit(-1).sort([[:_id, :asc]])
|
9009
|
+
Rendered inline template (18.5ms)
|
9010
|
+
Rendered inline template (0.3ms)
|
9011
|
+
|
9012
|
+
Sent mail to trcarden@gmail.com (1536ms)
|
9013
|
+
Date: Mon, 30 Jan 2012 15:29:03 -0800
|
9014
|
+
From: test@test.com
|
9015
|
+
Reply-To: testGuy
|
9016
|
+
To: trcarden@gmail.com
|
9017
|
+
Message-ID: <4f2727bfe71d6_dfba80984a7411090@timly.local.mail>
|
9018
|
+
Subject: test subject
|
9019
|
+
Mime-Version: 1.0
|
9020
|
+
Content-Type: multipart/alternative;
|
9021
|
+
boundary="--==_mimepart_4f2727bfc32e3_dfba80984a74107af";
|
9022
|
+
charset=UTF-8
|
9023
|
+
Content-Transfer-Encoding: 7bit
|
9024
|
+
|
9025
|
+
|
9026
|
+
|
9027
|
+
----==_mimepart_4f2727bfc32e3_dfba80984a74107af
|
9028
|
+
Date: Mon, 30 Jan 2012 15:29:03 -0800
|
9029
|
+
Mime-Version: 1.0
|
9030
|
+
Content-Type: text/plain;
|
9031
|
+
charset=UTF-8
|
9032
|
+
Content-Transfer-Encoding: 7bit
|
9033
|
+
Content-ID: <4f2727bfdadf8_dfba80984a741087@timly.local.mail>
|
9034
|
+
|
9035
|
+
Hello World
|
9036
|
+
|
9037
|
+
----==_mimepart_4f2727bfc32e3_dfba80984a74107af
|
9038
|
+
Date: Mon, 30 Jan 2012 15:29:03 -0800
|
9039
|
+
Mime-Version: 1.0
|
9040
|
+
Content-Type: text/html;
|
9041
|
+
charset=UTF-8
|
9042
|
+
Content-Transfer-Encoding: 7bit
|
9043
|
+
Content-ID: <4f2727bfe2935_dfba80984a741098@timly.local.mail>
|
9044
|
+
|
9045
|
+
Hello World
|
9046
|
+
|
9047
|
+
----==_mimepart_4f2727bfc32e3_dfba80984a74107af--
|
9048
|
+
|
9049
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2727bd816134dfba000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-30 23:29:05 UTC}})
|
9050
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-30 23:29:05 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9051
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9053
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9054
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9055
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9056
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9057
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9058
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
9059
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
9060
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9061
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9062
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2831b3816134f288000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:23:47 UTC, "created_at"=>2012-01-31 18:23:47 UTC}])
|
9063
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9064
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9065
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2831b3816134f288000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:23:47 UTC, "updated_at"=>2012-01-31 18:23:47 UTC, "created_at"=>2012-01-31 18:23:47 UTC}])
|
9066
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2831b3816134f288000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2831b3816134f288000001')}})
|
9067
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9068
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2831b3816134f288000001')}).limit(-1).sort([[:_id, :asc]])
|
9069
|
+
Rendered inline template (22.9ms)
|
9070
|
+
Rendered inline template (1.5ms)
|
9071
|
+
|
9072
|
+
Sent mail to trcarden@gmail.com (149ms)
|
9073
|
+
Date: Tue, 31 Jan 2012 10:23:48 -0800
|
9074
|
+
From: test@test.com
|
9075
|
+
Reply-To: testGuy
|
9076
|
+
To: trcarden@gmail.com
|
9077
|
+
Message-ID: <4f2831b443438_f28880522a80818b9@timly.local.mail>
|
9078
|
+
Subject: test subject
|
9079
|
+
Mime-Version: 1.0
|
9080
|
+
Content-Type: multipart/alternative;
|
9081
|
+
boundary="--==_mimepart_4f2831b41e5f7_f28880522a8081574";
|
9082
|
+
charset=UTF-8
|
9083
|
+
Content-Transfer-Encoding: 7bit
|
9084
|
+
|
9085
|
+
|
9086
|
+
|
9087
|
+
----==_mimepart_4f2831b41e5f7_f28880522a8081574
|
9088
|
+
Date: Tue, 31 Jan 2012 10:23:48 -0800
|
9089
|
+
Mime-Version: 1.0
|
9090
|
+
Content-Type: text/plain;
|
9091
|
+
charset=UTF-8
|
9092
|
+
Content-Transfer-Encoding: 7bit
|
9093
|
+
Content-ID: <4f2831b42d061_f28880522a8081632@timly.local.mail>
|
9094
|
+
|
9095
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2831b3816134f288000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2831b3816134f288000002' style='display:none' width='1' height='1' border='0' />
|
9096
|
+
|
9097
|
+
----==_mimepart_4f2831b41e5f7_f28880522a8081574
|
9098
|
+
Date: Tue, 31 Jan 2012 10:23:48 -0800
|
9099
|
+
Mime-Version: 1.0
|
9100
|
+
Content-Type: text/html;
|
9101
|
+
charset=UTF-8
|
9102
|
+
Content-Transfer-Encoding: 7bit
|
9103
|
+
Content-ID: <4f2831b43ea66_f28880522a8081795@timly.local.mail>
|
9104
|
+
|
9105
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2831b3816134f288000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2831b3816134f288000002' style='display:none' width='1' height='1' border='0' />
|
9106
|
+
|
9107
|
+
----==_mimepart_4f2831b41e5f7_f28880522a8081574--
|
9108
|
+
|
9109
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9110
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9111
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9112
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9115
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9116
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9117
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9118
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9119
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9120
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9121
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9122
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f283204816134f29d000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:25:08 UTC, "created_at"=>2012-01-31 18:25:08 UTC}])
|
9123
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9124
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9125
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f283204816134f29d000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:25:08 UTC, "updated_at"=>2012-01-31 18:25:08 UTC, "created_at"=>2012-01-31 18:25:08 UTC}])
|
9126
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f283204816134f29d000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f283204816134f29d000001')}})
|
9127
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9128
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f283204816134f29d000001')}).limit(-1).sort([[:_id, :asc]])
|
9129
|
+
Rendered inline template (21.7ms)
|
9130
|
+
Rendered inline template (1.5ms)
|
9131
|
+
|
9132
|
+
Sent mail to trcarden@gmail.com (142ms)
|
9133
|
+
Date: Tue, 31 Jan 2012 10:25:09 -0800
|
9134
|
+
From: test@test.com
|
9135
|
+
Reply-To: testGuy
|
9136
|
+
To: trcarden@gmail.com
|
9137
|
+
Message-ID: <4f283205144c1_f29d80a36c742476a@timly.local.mail>
|
9138
|
+
Subject: test subject
|
9139
|
+
Mime-Version: 1.0
|
9140
|
+
Content-Type: multipart/alternative;
|
9141
|
+
boundary="--==_mimepart_4f283204e52ba_f29d80a36c74244c6";
|
9142
|
+
charset=UTF-8
|
9143
|
+
Content-Transfer-Encoding: 7bit
|
9144
|
+
|
9145
|
+
|
9146
|
+
|
9147
|
+
----==_mimepart_4f283204e52ba_f29d80a36c74244c6
|
9148
|
+
Date: Tue, 31 Jan 2012 10:25:09 -0800
|
9149
|
+
Mime-Version: 1.0
|
9150
|
+
Content-Type: text/plain;
|
9151
|
+
charset=UTF-8
|
9152
|
+
Content-Transfer-Encoding: 7bit
|
9153
|
+
Content-ID: <4f2832058503_f29d80a36c74245b0@timly.local.mail>
|
9154
|
+
|
9155
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283204816134f29d000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283204816134f29d000002' style='display:none' width='1' height='1' border='0' />
|
9156
|
+
|
9157
|
+
----==_mimepart_4f283204e52ba_f29d80a36c74244c6
|
9158
|
+
Date: Tue, 31 Jan 2012 10:25:09 -0800
|
9159
|
+
Mime-Version: 1.0
|
9160
|
+
Content-Type: text/html;
|
9161
|
+
charset=UTF-8
|
9162
|
+
Content-Transfer-Encoding: 7bit
|
9163
|
+
Content-ID: <4f283205fda5_f29d80a36c74246b9@timly.local.mail>
|
9164
|
+
|
9165
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283204816134f29d000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283204816134f29d000002' style='display:none' width='1' height='1' border='0' />
|
9166
|
+
|
9167
|
+
----==_mimepart_4f283204e52ba_f29d80a36c74244c6--
|
9168
|
+
|
9169
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9170
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9171
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9172
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9173
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9175
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9176
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9177
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9178
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9180
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
9181
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
9182
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9183
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9184
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f283252816134f2a2000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:26 UTC, "created_at"=>2012-01-31 18:26:26 UTC}])
|
9185
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9186
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9187
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f283252816134f2a2000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:26 UTC, "updated_at"=>2012-01-31 18:26:26 UTC, "created_at"=>2012-01-31 18:26:26 UTC}])
|
9188
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f283252816134f2a2000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f283252816134f2a2000001')}})
|
9189
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9190
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f283252816134f2a2000001')}).limit(-1).sort([[:_id, :asc]])
|
9191
|
+
Rendered inline template (21.6ms)
|
9192
|
+
Rendered inline template (1.4ms)
|
9193
|
+
|
9194
|
+
Sent mail to trcarden@gmail.com (149ms)
|
9195
|
+
Date: Tue, 31 Jan 2012 10:26:27 -0800
|
9196
|
+
From: test@test.com
|
9197
|
+
Reply-To: testGuy
|
9198
|
+
To: trcarden@gmail.com
|
9199
|
+
Message-ID: <4f28325391b99_f2a28051d4b886278@timly.local.mail>
|
9200
|
+
Subject: test subject
|
9201
|
+
Mime-Version: 1.0
|
9202
|
+
Content-Type: multipart/alternative;
|
9203
|
+
boundary="--==_mimepart_4f2832536cde9_f2a28051d4b885928";
|
9204
|
+
charset=UTF-8
|
9205
|
+
Content-Transfer-Encoding: 7bit
|
9206
|
+
|
9207
|
+
|
9208
|
+
|
9209
|
+
----==_mimepart_4f2832536cde9_f2a28051d4b885928
|
9210
|
+
Date: Tue, 31 Jan 2012 10:26:27 -0800
|
9211
|
+
Mime-Version: 1.0
|
9212
|
+
Content-Type: text/plain;
|
9213
|
+
charset=UTF-8
|
9214
|
+
Content-Transfer-Encoding: 7bit
|
9215
|
+
Content-ID: <4f2832537b7f3_f2a28051d4b88603b@timly.local.mail>
|
9216
|
+
|
9217
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283252816134f2a2000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283252816134f2a2000002' style='display:none' width='1' height='1' border='0' />
|
9218
|
+
|
9219
|
+
----==_mimepart_4f2832536cde9_f2a28051d4b885928
|
9220
|
+
Date: Tue, 31 Jan 2012 10:26:27 -0800
|
9221
|
+
Mime-Version: 1.0
|
9222
|
+
Content-Type: text/html;
|
9223
|
+
charset=UTF-8
|
9224
|
+
Content-Transfer-Encoding: 7bit
|
9225
|
+
Content-ID: <4f2832538d14b_f2a28051d4b8861ee@timly.local.mail>
|
9226
|
+
|
9227
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283252816134f2a2000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283252816134f2a2000002' style='display:none' width='1' height='1' border='0' />
|
9228
|
+
|
9229
|
+
----==_mimepart_4f2832536cde9_f2a28051d4b885928--
|
9230
|
+
|
9231
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9232
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9233
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9234
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9235
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9237
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9238
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9239
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9240
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9242
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
9243
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
9244
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9245
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9246
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326b816134f2a5000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:51 UTC, "created_at"=>2012-01-31 18:26:51 UTC}])
|
9247
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9248
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9249
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326b816134f2a5000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:51 UTC, "updated_at"=>2012-01-31 18:26:51 UTC, "created_at"=>2012-01-31 18:26:51 UTC}])
|
9250
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326b816134f2a5000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326b816134f2a5000001')}})
|
9251
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9252
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f28326b816134f2a5000001')}).limit(-1).sort([[:_id, :asc]])
|
9253
|
+
Rendered inline template (19.8ms)
|
9254
|
+
Rendered inline template (1.2ms)
|
9255
|
+
|
9256
|
+
Sent mail to trcarden@gmail.com (104ms)
|
9257
|
+
Date: Tue, 31 Jan 2012 10:26:52 -0800
|
9258
|
+
From: test@test.com
|
9259
|
+
Reply-To: testGuy
|
9260
|
+
To: trcarden@gmail.com
|
9261
|
+
Message-ID: <4f28326c4d2b_f2a580434f4c568@timly.local.mail>
|
9262
|
+
Subject: test subject
|
9263
|
+
Mime-Version: 1.0
|
9264
|
+
Content-Type: multipart/alternative;
|
9265
|
+
boundary="--==_mimepart_4f28326bdf09e_f2a580434f4c53ab";
|
9266
|
+
charset=UTF-8
|
9267
|
+
Content-Transfer-Encoding: 7bit
|
9268
|
+
|
9269
|
+
|
9270
|
+
|
9271
|
+
----==_mimepart_4f28326bdf09e_f2a580434f4c53ab
|
9272
|
+
Date: Tue, 31 Jan 2012 10:26:51 -0800
|
9273
|
+
Mime-Version: 1.0
|
9274
|
+
Content-Type: text/plain;
|
9275
|
+
charset=UTF-8
|
9276
|
+
Content-Transfer-Encoding: 7bit
|
9277
|
+
Content-ID: <4f28326bed30e_f2a580434f4c5471@timly.local.mail>
|
9278
|
+
|
9279
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f28326b816134f2a5000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f28326b816134f2a5000002' style='display:none' width='1' height='1' border='0' />
|
9280
|
+
|
9281
|
+
----==_mimepart_4f28326bdf09e_f2a580434f4c53ab
|
9282
|
+
Date: Tue, 31 Jan 2012 10:26:52 -0800
|
9283
|
+
Mime-Version: 1.0
|
9284
|
+
Content-Type: text/html;
|
9285
|
+
charset=UTF-8
|
9286
|
+
Content-Transfer-Encoding: 7bit
|
9287
|
+
Content-ID: <4f28326c8e1_f2a580434f4c559e@timly.local.mail>
|
9288
|
+
|
9289
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f28326b816134f2a5000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f28326b816134f2a5000002' style='display:none' width='1' height='1' border='0' />
|
9290
|
+
|
9291
|
+
----==_mimepart_4f28326bdf09e_f2a580434f4c53ab--
|
9292
|
+
|
9293
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9294
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9295
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9296
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9297
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9299
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9300
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9301
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9302
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9305
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9306
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9307
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9308
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9309
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9310
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
9311
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a5000004'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9312
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a5000004')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a5000003')}})
|
9313
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9315
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9316
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9317
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9318
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9319
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9320
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9322
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9323
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9324
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9325
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9326
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9329
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9330
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9331
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9332
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9333
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9334
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9336
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9337
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9338
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9339
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9340
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000008'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9341
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
9342
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9344
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9345
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9346
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9347
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9348
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000009'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9349
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
9350
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a500000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9351
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000a')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a5000009')}})
|
9352
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:26:52 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9353
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:26:52 UTC}, :sent=>false}).limit(100)
|
9354
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f28326c816134f2a5000009')}).limit(-1).sort([[:_id, :asc]])
|
9355
|
+
Rendered inline template (0.3ms)
|
9356
|
+
Rendered inline template (0.2ms)
|
9357
|
+
|
9358
|
+
Sent mail to trcarden@gmail.com (17ms)
|
9359
|
+
Date: Tue, 31 Jan 2012 10:26:52 -0800
|
9360
|
+
From: test@test.com
|
9361
|
+
Reply-To: testGuy
|
9362
|
+
To: trcarden@gmail.com
|
9363
|
+
Message-ID: <4f28326c1850b_f2a580434f4c6026@timly.local.mail>
|
9364
|
+
Subject: test subject
|
9365
|
+
Mime-Version: 1.0
|
9366
|
+
Content-Type: multipart/alternative;
|
9367
|
+
boundary="--==_mimepart_4f28326c139e1_f2a580434f4c576b";
|
9368
|
+
charset=UTF-8
|
9369
|
+
Content-Transfer-Encoding: 7bit
|
9370
|
+
|
9371
|
+
|
9372
|
+
|
9373
|
+
----==_mimepart_4f28326c139e1_f2a580434f4c576b
|
9374
|
+
Date: Tue, 31 Jan 2012 10:26:52 -0800
|
9375
|
+
Mime-Version: 1.0
|
9376
|
+
Content-Type: text/plain;
|
9377
|
+
charset=UTF-8
|
9378
|
+
Content-Transfer-Encoding: 7bit
|
9379
|
+
Content-ID: <4f28326c167f5_f2a580434f4c5890@timly.local.mail>
|
9380
|
+
|
9381
|
+
Hello World
|
9382
|
+
|
9383
|
+
----==_mimepart_4f28326c139e1_f2a580434f4c576b
|
9384
|
+
Date: Tue, 31 Jan 2012 10:26:52 -0800
|
9385
|
+
Mime-Version: 1.0
|
9386
|
+
Content-Type: text/html;
|
9387
|
+
charset=UTF-8
|
9388
|
+
Content-Transfer-Encoding: 7bit
|
9389
|
+
Content-ID: <4f28326c17909_f2a580434f4c5933@timly.local.mail>
|
9390
|
+
|
9391
|
+
Hello World
|
9392
|
+
|
9393
|
+
----==_mimepart_4f28326c139e1_f2a580434f4c576b--
|
9394
|
+
|
9395
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000a')}, {"$set"=>{"sent"=>true}})
|
9396
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:26:52 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9399
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9400
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9401
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9402
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9403
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9405
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a500000b'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9406
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9407
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a500000c'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9408
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000c')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a500000b')}})
|
9409
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9410
|
+
Processing by MailSpy::TrackingController#action as HTML
|
9411
|
+
Parameters: {"eid"=>"4f28326c816134f2a500000c", "action_type"=>"Conversion", "count"=>"3"}
|
9412
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a500000c')}).limit(-1).sort([[:_id, :asc]])
|
9413
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000c')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f28326c816134f2a500000d'), "action_type"=>"Conversion", "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}}})
|
9414
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
9415
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a500000c')}).limit(-1)
|
9416
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9417
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9418
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9419
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9420
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9422
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a500000e'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9423
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9424
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a500000f'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9425
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000f')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a500000e')}})
|
9426
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9427
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
9428
|
+
Parameters: {"eid"=>"4f28326c816134f2a500000f"}
|
9429
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a500000f')}).limit(-1).sort([[:_id, :asc]])
|
9430
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a500000f')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f28326c816134f2a5000010'), "action_type"=>"open", "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}}})
|
9431
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
9432
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a500000f')}).limit(-1)
|
9433
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9434
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9435
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9436
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9437
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9439
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000011'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9440
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9441
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a5000012'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9442
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a5000012')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a5000011')}})
|
9443
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9444
|
+
Processing by MailSpy::TrackingController#link as HTML
|
9445
|
+
Parameters: {"eid"=>"4f28326c816134f2a5000012", "url"=>"http://google.com", "n"=>"0"}
|
9446
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a5000012')}).limit(-1).sort([[:_id, :asc]])
|
9447
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a5000012')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f28326c816134f2a5000013'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}}})
|
9448
|
+
Redirected to http://google.com
|
9449
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
9450
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f28326c816134f2a5000012')}).limit(-1)
|
9451
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9452
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9453
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9454
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9457
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28326c816134f2a5000014'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9458
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9459
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28326c816134f2a5000015'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:26:52 UTC, "updated_at"=>2012-01-31 18:26:52 UTC, "created_at"=>2012-01-31 18:26:52 UTC}])
|
9460
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28326c816134f2a5000015')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28326c816134f2a5000014')}})
|
9461
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9462
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9463
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9464
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9465
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9466
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9468
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9469
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9470
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9471
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2832db816134f2ab000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:28:43 UTC, "created_at"=>2012-01-31 18:28:43 UTC}])
|
9472
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9473
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9474
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2832db816134f2ab000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:28:43 UTC, "updated_at"=>2012-01-31 18:28:43 UTC, "created_at"=>2012-01-31 18:28:43 UTC}])
|
9475
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2832db816134f2ab000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2832db816134f2ab000001')}})
|
9476
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9477
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2832db816134f2ab000001')}).limit(-1).sort([[:_id, :asc]])
|
9478
|
+
Rendered inline template (21.7ms)
|
9479
|
+
Rendered inline template (1.4ms)
|
9480
|
+
|
9481
|
+
Sent mail to trcarden@gmail.com (147ms)
|
9482
|
+
Date: Tue, 31 Jan 2012 10:28:44 -0800
|
9483
|
+
From: test@test.com
|
9484
|
+
Reply-To: testGuy
|
9485
|
+
To: trcarden@gmail.com
|
9486
|
+
Message-ID: <4f2832dc5b425_f2ab8097d3a04475a@timly.local.mail>
|
9487
|
+
Subject: test subject
|
9488
|
+
Mime-Version: 1.0
|
9489
|
+
Content-Type: multipart/alternative;
|
9490
|
+
boundary="--==_mimepart_4f2832dc36e93_f2ab8097d3a04445f";
|
9491
|
+
charset=UTF-8
|
9492
|
+
Content-Transfer-Encoding: 7bit
|
9493
|
+
|
9494
|
+
|
9495
|
+
|
9496
|
+
----==_mimepart_4f2832dc36e93_f2ab8097d3a04445f
|
9497
|
+
Date: Tue, 31 Jan 2012 10:28:44 -0800
|
9498
|
+
Mime-Version: 1.0
|
9499
|
+
Content-Type: text/plain;
|
9500
|
+
charset=UTF-8
|
9501
|
+
Content-Transfer-Encoding: 7bit
|
9502
|
+
Content-ID: <4f2832dc4f105_f2ab8097d3a0445a@timly.local.mail>
|
9503
|
+
|
9504
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2832db816134f2ab000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2832db816134f2ab000002' style='display:none' width='1' height='1' border='0' />
|
9505
|
+
|
9506
|
+
----==_mimepart_4f2832dc36e93_f2ab8097d3a04445f
|
9507
|
+
Date: Tue, 31 Jan 2012 10:28:44 -0800
|
9508
|
+
Mime-Version: 1.0
|
9509
|
+
Content-Type: text/html;
|
9510
|
+
charset=UTF-8
|
9511
|
+
Content-Transfer-Encoding: 7bit
|
9512
|
+
Content-ID: <4f2832dc56ce1_f2ab8097d3a0446b0@timly.local.mail>
|
9513
|
+
|
9514
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2832db816134f2ab000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2832db816134f2ab000002' style='display:none' width='1' height='1' border='0' />
|
9515
|
+
|
9516
|
+
----==_mimepart_4f2832dc36e93_f2ab8097d3a04445f--
|
9517
|
+
|
9518
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9519
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9520
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9521
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9522
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9524
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9525
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9526
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9527
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9528
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9529
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
9530
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
9531
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9532
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9533
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f283357816134f2b3000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:30:47 UTC, "created_at"=>2012-01-31 18:30:47 UTC}])
|
9534
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9535
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9536
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f283357816134f2b3000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:30:47 UTC, "updated_at"=>2012-01-31 18:30:47 UTC, "created_at"=>2012-01-31 18:30:47 UTC}])
|
9537
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f283357816134f2b3000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f283357816134f2b3000001')}})
|
9538
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9539
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f283357816134f2b3000001')}).limit(-1).sort([[:_id, :asc]])
|
9540
|
+
Rendered inline template (21.2ms)
|
9541
|
+
Rendered inline template (1.4ms)
|
9542
|
+
|
9543
|
+
Sent mail to trcarden@gmail.com (145ms)
|
9544
|
+
Date: Tue, 31 Jan 2012 10:30:48 -0800
|
9545
|
+
From: test@test.com
|
9546
|
+
Reply-To: testGuy
|
9547
|
+
To: trcarden@gmail.com
|
9548
|
+
Message-ID: <4f2833585806a_f2b3805a02c8749b3@timly.local.mail>
|
9549
|
+
Subject: test subject
|
9550
|
+
Mime-Version: 1.0
|
9551
|
+
Content-Type: multipart/alternative;
|
9552
|
+
boundary="--==_mimepart_4f28335834307_f2b3805a02c8746b9";
|
9553
|
+
charset=UTF-8
|
9554
|
+
Content-Transfer-Encoding: 7bit
|
9555
|
+
|
9556
|
+
|
9557
|
+
|
9558
|
+
----==_mimepart_4f28335834307_f2b3805a02c8746b9
|
9559
|
+
Date: Tue, 31 Jan 2012 10:30:48 -0800
|
9560
|
+
Mime-Version: 1.0
|
9561
|
+
Content-Type: text/plain;
|
9562
|
+
charset=UTF-8
|
9563
|
+
Content-Transfer-Encoding: 7bit
|
9564
|
+
Content-ID: <4f28335842255_f2b3805a02c8747c9@timly.local.mail>
|
9565
|
+
|
9566
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283357816134f2b3000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283357816134f2b3000002' style='display:none' width='1' height='1' border='0' />
|
9567
|
+
|
9568
|
+
----==_mimepart_4f28335834307_f2b3805a02c8746b9
|
9569
|
+
Date: Tue, 31 Jan 2012 10:30:48 -0800
|
9570
|
+
Mime-Version: 1.0
|
9571
|
+
Content-Type: text/html;
|
9572
|
+
charset=UTF-8
|
9573
|
+
Content-Transfer-Encoding: 7bit
|
9574
|
+
Content-ID: <4f28335853b2e_f2b3805a02c8748b8@timly.local.mail>
|
9575
|
+
|
9576
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f283357816134f2b3000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f283357816134f2b3000002' style='display:none' width='1' height='1' border='0' />
|
9577
|
+
|
9578
|
+
----==_mimepart_4f28335834307_f2b3805a02c8746b9--
|
9579
|
+
|
9580
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9581
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9582
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9583
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9586
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9587
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9588
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9589
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9590
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9591
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
9592
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9593
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28341c816134f2bf000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:34:04 UTC, "created_at"=>2012-01-31 18:34:04 UTC}])
|
9594
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9595
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9596
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28341c816134f2bf000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:34:04 UTC, "updated_at"=>2012-01-31 18:34:04 UTC, "created_at"=>2012-01-31 18:34:04 UTC}])
|
9597
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28341c816134f2bf000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28341c816134f2bf000001')}})
|
9598
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
9599
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f28341c816134f2bf000001')}).limit(-1).sort([[:_id, :asc]])
|
9600
|
+
Rendered inline template (21.4ms)
|
9601
|
+
Rendered inline template (1.5ms)
|
9602
|
+
|
9603
|
+
Sent mail to trcarden@gmail.com (149ms)
|
9604
|
+
Date: Tue, 31 Jan 2012 10:34:05 -0800
|
9605
|
+
From: test@test.com
|
9606
|
+
Reply-To: testGuy
|
9607
|
+
To: trcarden@gmail.com
|
9608
|
+
Message-ID: <4f28341d55f87_f2bf81002cc08298f@timly.local.mail>
|
9609
|
+
Subject: test subject
|
9610
|
+
Mime-Version: 1.0
|
9611
|
+
Content-Type: multipart/alternative;
|
9612
|
+
boundary="--==_mimepart_4f28341d30f56_f2bf81002cc082649";
|
9613
|
+
charset=UTF-8
|
9614
|
+
Content-Transfer-Encoding: 7bit
|
9615
|
+
|
9616
|
+
|
9617
|
+
|
9618
|
+
----==_mimepart_4f28341d30f56_f2bf81002cc082649
|
9619
|
+
Date: Tue, 31 Jan 2012 10:34:05 -0800
|
9620
|
+
Mime-Version: 1.0
|
9621
|
+
Content-Type: text/plain;
|
9622
|
+
charset=UTF-8
|
9623
|
+
Content-Transfer-Encoding: 7bit
|
9624
|
+
Content-ID: <4f28341d49adc_f2bf81002cc0827c2@timly.local.mail>
|
9625
|
+
|
9626
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f28341c816134f2bf000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f28341c816134f2bf000002' style='display:none' width='1' height='1' border='0' />
|
9627
|
+
|
9628
|
+
----==_mimepart_4f28341d30f56_f2bf81002cc082649
|
9629
|
+
Date: Tue, 31 Jan 2012 10:34:05 -0800
|
9630
|
+
Mime-Version: 1.0
|
9631
|
+
Content-Type: text/html;
|
9632
|
+
charset=UTF-8
|
9633
|
+
Content-Transfer-Encoding: 7bit
|
9634
|
+
Content-ID: <4f28341d51753_f2bf81002cc0828db@timly.local.mail>
|
9635
|
+
|
9636
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f28341c816134f2bf000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f28341c816134f2bf000002' style='display:none' width='1' height='1' border='0' />
|
9637
|
+
|
9638
|
+
----==_mimepart_4f28341d30f56_f2bf81002cc082649--
|
9639
|
+
|
9640
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9641
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9642
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9643
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9646
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9647
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9648
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9649
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9650
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9651
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9652
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9653
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9654
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9655
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9656
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9657
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9658
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9659
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
9660
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28347f816134f2c4000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:35:43 UTC, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9661
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28347f816134f2c4000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28347f816134f2c4000001')}})
|
9662
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9663
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9664
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9665
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9666
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9667
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9668
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9669
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9670
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9671
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9672
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9673
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9674
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9675
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9676
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9678
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9679
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9680
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9681
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9682
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9683
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9685
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9686
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9687
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9688
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9689
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9690
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
9691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9693
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9694
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9695
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9696
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9697
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28347f816134f2c4000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9698
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
9699
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28347f816134f2c4000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:35:43 UTC, "updated_at"=>2012-01-31 18:35:43 UTC, "created_at"=>2012-01-31 18:35:43 UTC}])
|
9700
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28347f816134f2c4000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28347f816134f2c4000007')}})
|
9701
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:35:43 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9702
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:35:43 UTC}, :sent=>false}).limit(100)
|
9703
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f28347f816134f2c4000007')}).limit(-1).sort([[:_id, :asc]])
|
9704
|
+
Rendered inline template (17.7ms)
|
9705
|
+
Rendered inline template (0.3ms)
|
9706
|
+
|
9707
|
+
Sent mail to trcarden@gmail.com (1035ms)
|
9708
|
+
Date: Tue, 31 Jan 2012 10:35:45 -0800
|
9709
|
+
From: test@test.com
|
9710
|
+
Reply-To: testGuy
|
9711
|
+
To: trcarden@gmail.com
|
9712
|
+
Message-ID: <4f283481d305b_f2c4828157a490533@timly.local.mail>
|
9713
|
+
Subject: test subject
|
9714
|
+
Mime-Version: 1.0
|
9715
|
+
Content-Type: multipart/alternative;
|
9716
|
+
boundary="--==_mimepart_4f283481b9206_f2c4828157a49025c";
|
9717
|
+
charset=UTF-8
|
9718
|
+
Content-Transfer-Encoding: 7bit
|
9719
|
+
|
9720
|
+
|
9721
|
+
|
9722
|
+
----==_mimepart_4f283481b9206_f2c4828157a49025c
|
9723
|
+
Date: Tue, 31 Jan 2012 10:35:45 -0800
|
9724
|
+
Mime-Version: 1.0
|
9725
|
+
Content-Type: text/plain;
|
9726
|
+
charset=UTF-8
|
9727
|
+
Content-Transfer-Encoding: 7bit
|
9728
|
+
Content-ID: <4f283481c7103_f2c4828157a490353@timly.local.mail>
|
9729
|
+
|
9730
|
+
Hello World
|
9731
|
+
|
9732
|
+
----==_mimepart_4f283481b9206_f2c4828157a49025c
|
9733
|
+
Date: Tue, 31 Jan 2012 10:35:45 -0800
|
9734
|
+
Mime-Version: 1.0
|
9735
|
+
Content-Type: text/html;
|
9736
|
+
charset=UTF-8
|
9737
|
+
Content-Transfer-Encoding: 7bit
|
9738
|
+
Content-ID: <4f283481ce73f_f2c4828157a4904d9@timly.local.mail>
|
9739
|
+
|
9740
|
+
Hello World
|
9741
|
+
|
9742
|
+
----==_mimepart_4f283481b9206_f2c4828157a49025c--
|
9743
|
+
|
9744
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28347f816134f2c4000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 18:35:46 UTC}})
|
9745
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:35:46 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9748
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9749
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9750
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9751
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9752
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9753
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9754
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9755
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2834e1816134f2cb000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 18:37:21 UTC, "created_at"=>2012-01-31 18:37:21 UTC}])
|
9756
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9757
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9758
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2834e1816134f2cb000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 18:37:21 UTC, "updated_at"=>2012-01-31 18:37:21 UTC, "created_at"=>2012-01-31 18:37:21 UTC}])
|
9759
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2834e1816134f2cb000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2834e1816134f2cb000001')}})
|
9760
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:37:21 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9761
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:37:21 UTC}, :sent=>false}).limit(100)
|
9762
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2834e1816134f2cb000001')}).limit(-1).sort([[:_id, :asc]])
|
9763
|
+
Rendered inline template (21.0ms)
|
9764
|
+
Rendered inline template (1.4ms)
|
9765
|
+
|
9766
|
+
Sent mail to trcarden@gmail.com (145ms)
|
9767
|
+
Date: Tue, 31 Jan 2012 10:37:22 -0800
|
9768
|
+
From: test@test.com
|
9769
|
+
Reply-To: testGuy
|
9770
|
+
To: trcarden@gmail.com
|
9771
|
+
Message-ID: <4f2834e283ac7_f2cb830a2200341de@timly.local.mail>
|
9772
|
+
Subject: test subject
|
9773
|
+
Mime-Version: 1.0
|
9774
|
+
Content-Type: multipart/alternative;
|
9775
|
+
boundary="--==_mimepart_4f2834e25fbeb_f2cb830a220033886";
|
9776
|
+
charset=UTF-8
|
9777
|
+
Content-Transfer-Encoding: 7bit
|
9778
|
+
|
9779
|
+
|
9780
|
+
|
9781
|
+
----==_mimepart_4f2834e25fbeb_f2cb830a220033886
|
9782
|
+
Date: Tue, 31 Jan 2012 10:37:22 -0800
|
9783
|
+
Mime-Version: 1.0
|
9784
|
+
Content-Type: text/plain;
|
9785
|
+
charset=UTF-8
|
9786
|
+
Content-Transfer-Encoding: 7bit
|
9787
|
+
Content-ID: <4f2834e2778e9_f2cb830a22003391c@timly.local.mail>
|
9788
|
+
|
9789
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2834e1816134f2cb000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2834e1816134f2cb000002' style='display:none' width='1' height='1' border='0' />
|
9790
|
+
|
9791
|
+
----==_mimepart_4f2834e25fbeb_f2cb830a220033886
|
9792
|
+
Date: Tue, 31 Jan 2012 10:37:22 -0800
|
9793
|
+
Mime-Version: 1.0
|
9794
|
+
Content-Type: text/html;
|
9795
|
+
charset=UTF-8
|
9796
|
+
Content-Transfer-Encoding: 7bit
|
9797
|
+
Content-ID: <4f2834e27f404_f2cb830a220034089@timly.local.mail>
|
9798
|
+
|
9799
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2834e1816134f2cb000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2834e1816134f2cb000002' style='display:none' width='1' height='1' border='0' />
|
9800
|
+
|
9801
|
+
----==_mimepart_4f2834e25fbeb_f2cb830a220033886--
|
9802
|
+
|
9803
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2834e1816134f2cb000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 18:37:22 UTC}})
|
9804
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 18:37:22 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9805
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9806
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9807
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9808
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9809
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9811
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9812
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9813
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9814
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9816
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9817
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9818
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2849f9816134f650000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:07:21 UTC, "created_at"=>2012-01-31 20:07:21 UTC}])
|
9819
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9820
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9821
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2849f9816134f650000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:07:21 UTC, "updated_at"=>2012-01-31 20:07:21 UTC, "created_at"=>2012-01-31 20:07:21 UTC}])
|
9822
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2849f9816134f650000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2849f9816134f650000001')}})
|
9823
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:07:21 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9824
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:07:21 UTC}, :sent=>false}).limit(100)
|
9825
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2849f9816134f650000001')}).limit(-1).sort([[:_id, :asc]])
|
9826
|
+
Rendered inline template (21.6ms)
|
9827
|
+
Rendered inline template (1.5ms)
|
9828
|
+
|
9829
|
+
Sent mail to trcarden@gmail.com (146ms)
|
9830
|
+
Date: Tue, 31 Jan 2012 12:07:22 -0800
|
9831
|
+
From: test@test.com
|
9832
|
+
Reply-To: testGuy
|
9833
|
+
To: trcarden@gmail.com
|
9834
|
+
Message-ID: <4f2849fa6dc3_f650831cdb4841577@timly.local.mail>
|
9835
|
+
Subject: test subject
|
9836
|
+
Mime-Version: 1.0
|
9837
|
+
Content-Type: multipart/alternative;
|
9838
|
+
boundary="--==_mimepart_4f2849f9d6b0c_f650831cdb48412e4";
|
9839
|
+
charset=UTF-8
|
9840
|
+
Content-Transfer-Encoding: 7bit
|
9841
|
+
|
9842
|
+
|
9843
|
+
|
9844
|
+
----==_mimepart_4f2849f9d6b0c_f650831cdb48412e4
|
9845
|
+
Date: Tue, 31 Jan 2012 12:07:22 -0800
|
9846
|
+
Mime-Version: 1.0
|
9847
|
+
Content-Type: text/plain;
|
9848
|
+
charset=UTF-8
|
9849
|
+
Content-Transfer-Encoding: 7bit
|
9850
|
+
Content-ID: <4f2849f9eeb32_f650831cdb48413dc@timly.local.mail>
|
9851
|
+
|
9852
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2849f9816134f650000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2849f9816134f650000002' style='display:none' width='1' height='1' border='0' />
|
9853
|
+
|
9854
|
+
----==_mimepart_4f2849f9d6b0c_f650831cdb48412e4
|
9855
|
+
Date: Tue, 31 Jan 2012 12:07:22 -0800
|
9856
|
+
Mime-Version: 1.0
|
9857
|
+
Content-Type: text/html;
|
9858
|
+
charset=UTF-8
|
9859
|
+
Content-Transfer-Encoding: 7bit
|
9860
|
+
Content-ID: <4f2849fa252b_f650831cdb4841429@timly.local.mail>
|
9861
|
+
|
9862
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2849f9816134f650000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2849f9816134f650000002' style='display:none' width='1' height='1' border='0' />
|
9863
|
+
|
9864
|
+
----==_mimepart_4f2849f9d6b0c_f650831cdb48412e4--
|
9865
|
+
|
9866
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2849f9816134f650000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:07:22 UTC}})
|
9867
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:07:22 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9868
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9869
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9870
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9871
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9872
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9874
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9875
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9876
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9877
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9879
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
9880
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9881
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2852ce816134f6ab000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:45:02 UTC, "created_at"=>2012-01-31 20:45:02 UTC}])
|
9882
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9883
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9884
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2852ce816134f6ab000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:45:02 UTC, "updated_at"=>2012-01-31 20:45:02 UTC, "created_at"=>2012-01-31 20:45:02 UTC}])
|
9885
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2852ce816134f6ab000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2852ce816134f6ab000001')}})
|
9886
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:02 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9887
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:02 UTC}, :sent=>false}).limit(100)
|
9888
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2852ce816134f6ab000001')}).limit(-1).sort([[:_id, :asc]])
|
9889
|
+
Rendered inline template (23.0ms)
|
9890
|
+
Rendered inline template (1.4ms)
|
9891
|
+
|
9892
|
+
Sent mail to trcarden@gmail.com (154ms)
|
9893
|
+
Date: Tue, 31 Jan 2012 12:45:03 -0800
|
9894
|
+
From: test@test.com
|
9895
|
+
Reply-To: testGuy
|
9896
|
+
To: trcarden@gmail.com
|
9897
|
+
Message-ID: <4f2852cf11b7c_f6ab831cc8607218@timly.local.mail>
|
9898
|
+
Subject: test subject
|
9899
|
+
Mime-Version: 1.0
|
9900
|
+
Content-Type: multipart/alternative;
|
9901
|
+
boundary="--==_mimepart_4f2852cedfd43_f6ab831cc86071862";
|
9902
|
+
charset=UTF-8
|
9903
|
+
Content-Transfer-Encoding: 7bit
|
9904
|
+
|
9905
|
+
|
9906
|
+
|
9907
|
+
----==_mimepart_4f2852cedfd43_f6ab831cc86071862
|
9908
|
+
Date: Tue, 31 Jan 2012 12:45:03 -0800
|
9909
|
+
Mime-Version: 1.0
|
9910
|
+
Content-Type: text/plain;
|
9911
|
+
charset=UTF-8
|
9912
|
+
Content-Transfer-Encoding: 7bit
|
9913
|
+
Content-ID: <4f2852cf4312_f6ab831cc8607197f@timly.local.mail>
|
9914
|
+
|
9915
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2852ce816134f6ab000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2852ce816134f6ab000002' style='display:none' width='1' height='1' border='0' />
|
9916
|
+
|
9917
|
+
----==_mimepart_4f2852cedfd43_f6ab831cc86071862
|
9918
|
+
Date: Tue, 31 Jan 2012 12:45:03 -0800
|
9919
|
+
Mime-Version: 1.0
|
9920
|
+
Content-Type: text/html;
|
9921
|
+
charset=UTF-8
|
9922
|
+
Content-Transfer-Encoding: 7bit
|
9923
|
+
Content-ID: <4f2852cfcd29_f6ab831cc860720d8@timly.local.mail>
|
9924
|
+
|
9925
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2852ce816134f6ab000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2852ce816134f6ab000002' style='display:none' width='1' height='1' border='0' />
|
9926
|
+
|
9927
|
+
----==_mimepart_4f2852cedfd43_f6ab831cc86071862--
|
9928
|
+
|
9929
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2852ce816134f6ab000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:45:03 UTC}})
|
9930
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:03 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9931
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9932
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9933
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9934
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9937
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9938
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9939
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9940
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9941
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9942
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9943
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9944
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2852fb816134f6b0000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:45:47 UTC, "created_at"=>2012-01-31 20:45:47 UTC}])
|
9945
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
9946
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
9947
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2852fb816134f6b0000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:45:47 UTC, "updated_at"=>2012-01-31 20:45:47 UTC, "created_at"=>2012-01-31 20:45:47 UTC}])
|
9948
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2852fb816134f6b0000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2852fb816134f6b0000001')}})
|
9949
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:47 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9950
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:47 UTC}, :sent=>false}).limit(100)
|
9951
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2852fb816134f6b0000001')}).limit(-1).sort([[:_id, :asc]])
|
9952
|
+
Rendered inline template (21.2ms)
|
9953
|
+
Rendered inline template (1.4ms)
|
9954
|
+
|
9955
|
+
Sent mail to trcarden@gmail.com (143ms)
|
9956
|
+
Date: Tue, 31 Jan 2012 12:45:48 -0800
|
9957
|
+
From: test@test.com
|
9958
|
+
Reply-To: testGuy
|
9959
|
+
To: trcarden@gmail.com
|
9960
|
+
Message-ID: <4f2852fc2188e_f6b0831cb3d42111@timly.local.mail>
|
9961
|
+
Subject: test subject
|
9962
|
+
Mime-Version: 1.0
|
9963
|
+
Content-Type: multipart/alternative;
|
9964
|
+
boundary="--==_mimepart_4f2852fbf20ac_f6b0831cb3d420813";
|
9965
|
+
charset=UTF-8
|
9966
|
+
Content-Transfer-Encoding: 7bit
|
9967
|
+
|
9968
|
+
|
9969
|
+
|
9970
|
+
----==_mimepart_4f2852fbf20ac_f6b0831cb3d420813
|
9971
|
+
Date: Tue, 31 Jan 2012 12:45:48 -0800
|
9972
|
+
Mime-Version: 1.0
|
9973
|
+
Content-Type: text/plain;
|
9974
|
+
charset=UTF-8
|
9975
|
+
Content-Transfer-Encoding: 7bit
|
9976
|
+
Content-ID: <4f2852fc15842_f6b0831cb3d42091f@timly.local.mail>
|
9977
|
+
|
9978
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2852fb816134f6b0000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2852fb816134f6b0000002' style='display:none' width='1' height='1' border='0' />
|
9979
|
+
|
9980
|
+
----==_mimepart_4f2852fbf20ac_f6b0831cb3d420813
|
9981
|
+
Date: Tue, 31 Jan 2012 12:45:48 -0800
|
9982
|
+
Mime-Version: 1.0
|
9983
|
+
Content-Type: text/html;
|
9984
|
+
charset=UTF-8
|
9985
|
+
Content-Transfer-Encoding: 7bit
|
9986
|
+
Content-ID: <4f2852fc1d2b6_f6b0831cb3d4210f1@timly.local.mail>
|
9987
|
+
|
9988
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2852fb816134f6b0000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2852fb816134f6b0000002' style='display:none' width='1' height='1' border='0' />
|
9989
|
+
|
9990
|
+
----==_mimepart_4f2852fbf20ac_f6b0831cb3d420813--
|
9991
|
+
|
9992
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2852fb816134f6b0000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:45:48 UTC}})
|
9993
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:45:48 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
9994
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
9995
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
9996
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
9997
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
9998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10000
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10001
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10002
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10003
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10004
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10005
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10006
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10007
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10008
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10009
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10010
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10011
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10012
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10013
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
10014
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f285338816134f6c1000002'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:46:48 UTC, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10015
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f285338816134f6c1000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f285338816134f6c1000001')}})
|
10016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10018
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10019
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10020
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10021
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10022
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000003'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10023
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10025
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10026
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10027
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10028
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10029
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000004'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10032
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10033
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10034
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10035
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10036
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000005'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10037
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10039
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10040
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10041
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10042
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10043
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000006'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10044
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"NOT HERE"}).limit(-1).sort([[:_id, :asc]])
|
10045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10047
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10048
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10049
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10050
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10051
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285338816134f6c1000007'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10052
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
10053
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f285338816134f6c1000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:46:48 UTC, "updated_at"=>2012-01-31 20:46:48 UTC, "created_at"=>2012-01-31 20:46:48 UTC}])
|
10054
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f285338816134f6c1000008')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f285338816134f6c1000007')}})
|
10055
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:46:48 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10056
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:46:48 UTC}, :sent=>false}).limit(100)
|
10057
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f285338816134f6c1000007')}).limit(-1).sort([[:_id, :asc]])
|
10058
|
+
Rendered inline template (21.1ms)
|
10059
|
+
Rendered inline template (0.3ms)
|
10060
|
+
|
10061
|
+
Sent mail to trcarden@gmail.com (1239ms)
|
10062
|
+
Date: Tue, 31 Jan 2012 12:46:51 -0800
|
10063
|
+
From: test@test.com
|
10064
|
+
Reply-To: testGuy
|
10065
|
+
To: trcarden@gmail.com
|
10066
|
+
Message-ID: <4f28533b305d8_f6c1831c877483966@timly.local.mail>
|
10067
|
+
Subject: test subject
|
10068
|
+
Mime-Version: 1.0
|
10069
|
+
Content-Type: multipart/alternative;
|
10070
|
+
boundary="--==_mimepart_4f28533b15371_f6c1831c8774836dc";
|
10071
|
+
charset=UTF-8
|
10072
|
+
Content-Transfer-Encoding: 7bit
|
10073
|
+
|
10074
|
+
|
10075
|
+
|
10076
|
+
----==_mimepart_4f28533b15371_f6c1831c8774836dc
|
10077
|
+
Date: Tue, 31 Jan 2012 12:46:51 -0800
|
10078
|
+
Mime-Version: 1.0
|
10079
|
+
Content-Type: text/plain;
|
10080
|
+
charset=UTF-8
|
10081
|
+
Content-Transfer-Encoding: 7bit
|
10082
|
+
Content-ID: <4f28533b23dc6_f6c1831c877483790@timly.local.mail>
|
10083
|
+
|
10084
|
+
Hello World
|
10085
|
+
|
10086
|
+
----==_mimepart_4f28533b15371_f6c1831c8774836dc
|
10087
|
+
Date: Tue, 31 Jan 2012 12:46:51 -0800
|
10088
|
+
Mime-Version: 1.0
|
10089
|
+
Content-Type: text/html;
|
10090
|
+
charset=UTF-8
|
10091
|
+
Content-Transfer-Encoding: 7bit
|
10092
|
+
Content-ID: <4f28533b2bd02_f6c1831c8774838b8@timly.local.mail>
|
10093
|
+
|
10094
|
+
Hello World
|
10095
|
+
|
10096
|
+
----==_mimepart_4f28533b15371_f6c1831c8774836dc--
|
10097
|
+
|
10098
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f285338816134f6c1000008')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:46:52 UTC}})
|
10099
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:46:52 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10102
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10103
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10104
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10105
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10106
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10107
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10108
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10109
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2853ae816134f6cc000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:48:46 UTC, "created_at"=>2012-01-31 20:48:46 UTC}])
|
10110
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10111
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10112
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2853ae816134f6cc000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:48:46 UTC, "updated_at"=>2012-01-31 20:48:46 UTC, "created_at"=>2012-01-31 20:48:46 UTC}])
|
10113
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2853ae816134f6cc000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2853ae816134f6cc000001')}})
|
10114
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:48:46 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10115
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:48:46 UTC}, :sent=>false}).limit(100)
|
10116
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2853ae816134f6cc000001')}).limit(-1).sort([[:_id, :asc]])
|
10117
|
+
Rendered inline template (21.6ms)
|
10118
|
+
Rendered inline template (1.4ms)
|
10119
|
+
|
10120
|
+
Sent mail to trcarden@gmail.com (1535ms)
|
10121
|
+
Date: Tue, 31 Jan 2012 12:48:49 -0800
|
10122
|
+
From: test@test.com
|
10123
|
+
Reply-To: testGuy
|
10124
|
+
To: trcarden@gmail.com
|
10125
|
+
Message-ID: <4f2853b197df6_f6cc831c77348561f@timly.local.mail>
|
10126
|
+
Subject: test subject
|
10127
|
+
Mime-Version: 1.0
|
10128
|
+
Content-Type: multipart/alternative;
|
10129
|
+
boundary="--==_mimepart_4f2853b1743e3_f6cc831c773485373";
|
10130
|
+
charset=UTF-8
|
10131
|
+
Content-Transfer-Encoding: 7bit
|
10132
|
+
|
10133
|
+
|
10134
|
+
|
10135
|
+
----==_mimepart_4f2853b1743e3_f6cc831c773485373
|
10136
|
+
Date: Tue, 31 Jan 2012 12:48:49 -0800
|
10137
|
+
Mime-Version: 1.0
|
10138
|
+
Content-Type: text/plain;
|
10139
|
+
charset=UTF-8
|
10140
|
+
Content-Transfer-Encoding: 7bit
|
10141
|
+
Content-ID: <4f2853b18bd4b_f6cc831c773485479@timly.local.mail>
|
10142
|
+
|
10143
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2853ae816134f6cc000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2853ae816134f6cc000002' style='display:none' width='1' height='1' border='0' />
|
10144
|
+
|
10145
|
+
----==_mimepart_4f2853b1743e3_f6cc831c773485373
|
10146
|
+
Date: Tue, 31 Jan 2012 12:48:49 -0800
|
10147
|
+
Mime-Version: 1.0
|
10148
|
+
Content-Type: text/html;
|
10149
|
+
charset=UTF-8
|
10150
|
+
Content-Transfer-Encoding: 7bit
|
10151
|
+
Content-ID: <4f2853b19362d_f6cc831c77348553a@timly.local.mail>
|
10152
|
+
|
10153
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f2853ae816134f6cc000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f2853ae816134f6cc000002' style='display:none' width='1' height='1' border='0' />
|
10154
|
+
|
10155
|
+
----==_mimepart_4f2853b1743e3_f6cc831c773485373--
|
10156
|
+
|
10157
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2853ae816134f6cc000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:48:51 UTC}})
|
10158
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:48:51 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10159
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10160
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10161
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10162
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10163
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10165
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10166
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10167
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10168
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10169
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10170
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10171
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10172
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f285434816134f6e5000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:51:00 UTC, "created_at"=>2012-01-31 20:51:00 UTC}])
|
10173
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10174
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10175
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f285434816134f6e5000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:51:00 UTC, "updated_at"=>2012-01-31 20:51:00 UTC, "created_at"=>2012-01-31 20:51:00 UTC}])
|
10176
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f285434816134f6e5000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f285434816134f6e5000001')}})
|
10177
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:51:00 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10178
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:51:00 UTC}, :sent=>false}).limit(100)
|
10179
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f285434816134f6e5000001')}).limit(-1).sort([[:_id, :asc]])
|
10180
|
+
Rendered inline template (21.0ms)
|
10181
|
+
Rendered inline template (1.5ms)
|
10182
|
+
|
10183
|
+
Sent mail to trcarden@gmail.com (1760ms)
|
10184
|
+
Date: Tue, 31 Jan 2012 12:51:03 -0800
|
10185
|
+
From: test@test.com
|
10186
|
+
Reply-To: testGuy
|
10187
|
+
To: trcarden@gmail.com
|
10188
|
+
Message-ID: <4f285437311e3_f6e5831c67945515d@timly.local.mail>
|
10189
|
+
Subject: test subject
|
10190
|
+
Mime-Version: 1.0
|
10191
|
+
Content-Type: multipart/alternative;
|
10192
|
+
boundary="--==_mimepart_4f285437d1bb_f6e5831c679454895";
|
10193
|
+
charset=UTF-8
|
10194
|
+
Content-Transfer-Encoding: 7bit
|
10195
|
+
|
10196
|
+
|
10197
|
+
|
10198
|
+
----==_mimepart_4f285437d1bb_f6e5831c679454895
|
10199
|
+
Date: Tue, 31 Jan 2012 12:51:03 -0800
|
10200
|
+
Mime-Version: 1.0
|
10201
|
+
Content-Type: text/plain;
|
10202
|
+
charset=UTF-8
|
10203
|
+
Content-Transfer-Encoding: 7bit
|
10204
|
+
Content-ID: <4f28543724b4b_f6e5831c6794549d7@timly.local.mail>
|
10205
|
+
|
10206
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f285434816134f6e5000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f285434816134f6e5000002' style='display:none' width='1' height='1' border='0' />
|
10207
|
+
|
10208
|
+
----==_mimepart_4f285437d1bb_f6e5831c679454895
|
10209
|
+
Date: Tue, 31 Jan 2012 12:51:03 -0800
|
10210
|
+
Mime-Version: 1.0
|
10211
|
+
Content-Type: text/html;
|
10212
|
+
charset=UTF-8
|
10213
|
+
Content-Transfer-Encoding: 7bit
|
10214
|
+
Content-ID: <4f2854372c4a4_f6e5831c679455096@timly.local.mail>
|
10215
|
+
|
10216
|
+
A link : <a href="http://localhost:3000/mail_spy/t?eid=4f285434816134f6e5000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:3000/mail_spy/b?eid=4f285434816134f6e5000002' style='display:none' width='1' height='1' border='0' />
|
10217
|
+
|
10218
|
+
----==_mimepart_4f285437d1bb_f6e5831c679454895--
|
10219
|
+
|
10220
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f285434816134f6e5000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:51:04 UTC}})
|
10221
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:51:04 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10222
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10223
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10224
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10225
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10228
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10229
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10230
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10231
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10233
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
10234
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
10235
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10236
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10237
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f28546e816134f6eb000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:51:58 UTC, "created_at"=>2012-01-31 20:51:58 UTC}])
|
10238
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10239
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10240
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f28546e816134f6eb000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:51:58 UTC, "updated_at"=>2012-01-31 20:51:58 UTC, "created_at"=>2012-01-31 20:51:58 UTC}])
|
10241
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28546e816134f6eb000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f28546e816134f6eb000001')}})
|
10242
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:51:58 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10243
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:51:58 UTC}, :sent=>false}).limit(100)
|
10244
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f28546e816134f6eb000001')}).limit(-1).sort([[:_id, :asc]])
|
10245
|
+
Rendered inline template (21.9ms)
|
10246
|
+
Rendered inline template (1.5ms)
|
10247
|
+
|
10248
|
+
Sent mail to trcarden@gmail.com (1495ms)
|
10249
|
+
Date: Tue, 31 Jan 2012 12:52:00 -0800
|
10250
|
+
From: test@test.com
|
10251
|
+
Reply-To: testGuy
|
10252
|
+
To: trcarden@gmail.com
|
10253
|
+
Message-ID: <4f285470b2e0c_f6eb8053ebb8238a5@timly.local.mail>
|
10254
|
+
Subject: test subject
|
10255
|
+
Mime-Version: 1.0
|
10256
|
+
Content-Type: multipart/alternative;
|
10257
|
+
boundary="--==_mimepart_4f2854708d468_f6eb8053ebb82357e";
|
10258
|
+
charset=UTF-8
|
10259
|
+
Content-Transfer-Encoding: 7bit
|
10260
|
+
|
10261
|
+
|
10262
|
+
|
10263
|
+
----==_mimepart_4f2854708d468_f6eb8053ebb82357e
|
10264
|
+
Date: Tue, 31 Jan 2012 12:52:00 -0800
|
10265
|
+
Mime-Version: 1.0
|
10266
|
+
Content-Type: text/plain;
|
10267
|
+
charset=UTF-8
|
10268
|
+
Content-Transfer-Encoding: 7bit
|
10269
|
+
Content-ID: <4f285470a6697_f6eb8053ebb823624@timly.local.mail>
|
10270
|
+
|
10271
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f28546e816134f6eb000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:5000/mail_spy/b?eid=4f28546e816134f6eb000002' style='display:none' width='1' height='1' border='0' />
|
10272
|
+
|
10273
|
+
----==_mimepart_4f2854708d468_f6eb8053ebb82357e
|
10274
|
+
Date: Tue, 31 Jan 2012 12:52:00 -0800
|
10275
|
+
Mime-Version: 1.0
|
10276
|
+
Content-Type: text/html;
|
10277
|
+
charset=UTF-8
|
10278
|
+
Content-Transfer-Encoding: 7bit
|
10279
|
+
Content-ID: <4f285470ae4a9_f6eb8053ebb823714@timly.local.mail>
|
10280
|
+
|
10281
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f28546e816134f6eb000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:5000/mail_spy/b?eid=4f28546e816134f6eb000002' style='display:none' width='1' height='1' border='0' />
|
10282
|
+
|
10283
|
+
----==_mimepart_4f2854708d468_f6eb8053ebb82357e--
|
10284
|
+
|
10285
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f28546e816134f6eb000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:52:02 UTC}})
|
10286
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:52:02 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10287
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10288
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10289
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10290
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10291
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10293
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10294
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10295
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10296
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10298
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10299
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10300
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2854ab816134f6f2000001'), "name"=>"a test template", "html_erb"=>"A link : <%= track_link 'My home', 'www.google.com' %> <br> A Bug <%= tracking_bug %>", "text_erb"=>"", "template_values_definition"=>{}, "updated_at"=>2012-01-31 20:52:59 UTC, "created_at"=>2012-01-31 20:52:59 UTC}])
|
10301
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10302
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10303
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2854ab816134f6f2000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 20:52:59 UTC, "updated_at"=>2012-01-31 20:52:59 UTC, "created_at"=>2012-01-31 20:52:59 UTC}])
|
10304
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2854ab816134f6f2000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2854ab816134f6f2000001')}})
|
10305
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:52:59 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10306
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:52:59 UTC}, :sent=>false}).limit(100)
|
10307
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2854ab816134f6f2000001')}).limit(-1).sort([[:_id, :asc]])
|
10308
|
+
Rendered inline template (20.5ms)
|
10309
|
+
Rendered inline template (1.4ms)
|
10310
|
+
|
10311
|
+
Sent mail to trcarden@gmail.com (1451ms)
|
10312
|
+
Date: Tue, 31 Jan 2012 12:53:02 -0800
|
10313
|
+
From: test@test.com
|
10314
|
+
Reply-To: testGuy
|
10315
|
+
To: trcarden@gmail.com
|
10316
|
+
Message-ID: <4f2854ae1b79a_f6f2809e9460186e@timly.local.mail>
|
10317
|
+
Subject: test subject
|
10318
|
+
Mime-Version: 1.0
|
10319
|
+
Content-Type: multipart/alternative;
|
10320
|
+
boundary="--==_mimepart_4f2854adec1ca_f6f2809e9460183e3";
|
10321
|
+
charset=UTF-8
|
10322
|
+
Content-Transfer-Encoding: 7bit
|
10323
|
+
|
10324
|
+
|
10325
|
+
|
10326
|
+
----==_mimepart_4f2854adec1ca_f6f2809e9460183e3
|
10327
|
+
Date: Tue, 31 Jan 2012 12:53:02 -0800
|
10328
|
+
Mime-Version: 1.0
|
10329
|
+
Content-Type: text/plain;
|
10330
|
+
charset=UTF-8
|
10331
|
+
Content-Transfer-Encoding: 7bit
|
10332
|
+
Content-ID: <4f2854aef72b_f6f2809e94601849@timly.local.mail>
|
10333
|
+
|
10334
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f2854ab816134f6f2000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:5000/mail_spy/b?eid=4f2854ab816134f6f2000002' style='display:none' width='1' height='1' border='0' />
|
10335
|
+
|
10336
|
+
----==_mimepart_4f2854adec1ca_f6f2809e9460183e3
|
10337
|
+
Date: Tue, 31 Jan 2012 12:53:02 -0800
|
10338
|
+
Mime-Version: 1.0
|
10339
|
+
Content-Type: text/html;
|
10340
|
+
charset=UTF-8
|
10341
|
+
Content-Transfer-Encoding: 7bit
|
10342
|
+
Content-ID: <4f2854ae170a5_f6f2809e9460185cf@timly.local.mail>
|
10343
|
+
|
10344
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f2854ab816134f6f2000002&n=1&url=www.google.com">My home</a> <br> A Bug <img src='http://localhost:5000/mail_spy/b?eid=4f2854ab816134f6f2000002' style='display:none' width='1' height='1' border='0' />
|
10345
|
+
|
10346
|
+
----==_mimepart_4f2854adec1ca_f6f2809e9460183e3--
|
10347
|
+
|
10348
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2854ab816134f6f2000002')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-01-31 20:53:03 UTC}})
|
10349
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-01-31 20:53:03 UTC}, :sent=>false}, {:_id=>1}).limit(-1)
|
10350
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10353
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10354
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10355
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2861d1816134f780000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 21:49:05 UTC, "created_at"=>2012-01-31 21:49:05 UTC}])
|
10356
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
10357
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10358
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2861d1816134f780000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 21:49:05 UTC, "updated_at"=>2012-01-31 21:49:05 UTC, "created_at"=>2012-01-31 21:49:05 UTC}])
|
10359
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2861d1816134f780000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2861d1816134f780000001')}})
|
10360
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10361
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10362
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10363
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10366
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2861d3816134f780000003'), "name"=>"a test template", "html_erb"=>"#<File:0x00000101518658>", "text_erb"=>"#<File:0x00000101518568>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 21:49:07 UTC, "created_at"=>2012-01-31 21:49:07 UTC}])
|
10367
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10368
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2861d3816134f780000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 21:49:07 UTC, "updated_at"=>2012-01-31 21:49:07 UTC, "created_at"=>2012-01-31 21:49:07 UTC}])
|
10369
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2861d3816134f780000004')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2861d3816134f780000003')}})
|
10370
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10371
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10372
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10373
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10374
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10377
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10378
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10379
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10380
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10381
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10382
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10383
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10384
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2861e9816134f782000001'), "name"=>"test", "html_erb"=>"Hello World", "text_erb"=>"Hello World", "template_values_definition"=>{}, "updated_at"=>2012-01-31 21:49:29 UTC, "created_at"=>2012-01-31 21:49:29 UTC}])
|
10385
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"test"}).limit(-1).sort([[:_id, :asc]])
|
10386
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10387
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2861e9816134f782000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"test", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 21:49:29 UTC, "updated_at"=>2012-01-31 21:49:29 UTC, "created_at"=>2012-01-31 21:49:29 UTC}])
|
10388
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2861e9816134f782000002')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2861e9816134f782000001')}})
|
10389
|
+
Rendered inline template (18.1ms)
|
10390
|
+
Rendered inline template (0.3ms)
|
10391
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10392
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10393
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10394
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10395
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10397
|
+
MONGODB dummy_test['mail_spy_email_templates'].insert([{"_id"=>BSON::ObjectId('4f2861eb816134f782000003'), "name"=>"a test template", "html_erb"=>"#<File:0x0000010400af50>", "text_erb"=>"#<File:0x0000010400ae38>", "template_values_definition"=>{}, "updated_at"=>2012-01-31 21:49:31 UTC, "created_at"=>2012-01-31 21:49:31 UTC}])
|
10398
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:name=>"a test template"}).limit(-1).sort([[:_id, :asc]])
|
10399
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f2861eb816134f782000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_name"=>"a test template", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 21:49:31 UTC, "updated_at"=>2012-01-31 21:49:31 UTC, "created_at"=>2012-01-31 21:49:31 UTC}])
|
10400
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f2861eb816134f782000004')}, {"$set"=>{"email_template_id"=>BSON::ObjectId('4f2861eb816134f782000003')}})
|
10401
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10402
|
+
MONGODB dummy_test['mail_spy_email_templates'].find({:_id=>BSON::ObjectId('4f2861eb816134f782000003')}).limit(-1).sort([[:_id, :asc]])
|
10403
|
+
Rendered inline template (0.3ms)
|
10404
|
+
Rendered inline template (0.3ms)
|
10405
|
+
|
10406
|
+
Sent mail to trcarden@gmail.com (1468ms)
|
10407
|
+
Date: Tue, 31 Jan 2012 13:49:31 -0800
|
10408
|
+
From: test@test.com
|
10409
|
+
Reply-To: testGuy
|
10410
|
+
To: trcarden@gmail.com
|
10411
|
+
Message-ID: <4f2861ebde77d_f782813ae4b48116a@timly.local.mail>
|
10412
|
+
Subject: test subject
|
10413
|
+
Mime-Version: 1.0
|
10414
|
+
Content-Type: multipart/alternative;
|
10415
|
+
boundary="--==_mimepart_4f2861ebc3bc9_f782813ae4b480898";
|
10416
|
+
charset=UTF-8
|
10417
|
+
Content-Transfer-Encoding: 7bit
|
10418
|
+
|
10419
|
+
|
10420
|
+
|
10421
|
+
----==_mimepart_4f2861ebc3bc9_f782813ae4b480898
|
10422
|
+
Date: Tue, 31 Jan 2012 13:49:31 -0800
|
10423
|
+
Mime-Version: 1.0
|
10424
|
+
Content-Type: text/plain;
|
10425
|
+
charset=UTF-8
|
10426
|
+
Content-Transfer-Encoding: 7bit
|
10427
|
+
Content-ID: <4f2861ebd223b_f782813ae4b48091e@timly.local.mail>
|
10428
|
+
|
10429
|
+
#<File:0x0000010400af50>
|
10430
|
+
|
10431
|
+
----==_mimepart_4f2861ebc3bc9_f782813ae4b480898
|
10432
|
+
Date: Tue, 31 Jan 2012 13:49:31 -0800
|
10433
|
+
Mime-Version: 1.0
|
10434
|
+
Content-Type: text/html;
|
10435
|
+
charset=UTF-8
|
10436
|
+
Content-Transfer-Encoding: 7bit
|
10437
|
+
Content-ID: <4f2861ebd9d45_f782813ae4b48103f@timly.local.mail>
|
10438
|
+
|
10439
|
+
#<File:0x0000010400af50>
|
10440
|
+
|
10441
|
+
----==_mimepart_4f2861ebc3bc9_f782813ae4b480898--
|
10442
|
+
|
10443
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10444
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10445
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10446
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10447
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10449
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_email_templates", "query"=>{}, "fields"=>nil}).limit(-1)
|
10450
|
+
MONGODB dummy_test['mail_spy_email_templates'].remove({})
|
10451
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10452
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10454
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
10455
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
10456
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10457
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10458
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4e816134f917000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:50 UTC, "updated_at"=>2012-01-31 23:37:50 UTC, "created_at"=>2012-01-31 23:37:50 UTC}])
|
10459
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10460
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10463
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f917000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10464
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10465
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10466
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10467
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10469
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10470
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10473
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10474
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10475
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f917000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10478
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10479
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10482
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10483
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10486
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10487
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10488
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10490
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f917000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10491
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10492
|
+
Processing by MailSpy::TrackingController#action as HTML
|
10493
|
+
Parameters: {"eid"=>"4f287b4f816134f917000004", "action_type"=>"Conversion", "count"=>"3"}
|
10494
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000004')}).limit(-1).sort([[:_id, :asc]])
|
10495
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b4f816134f917000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f287b4f816134f917000005'), "action_type"=>"Conversion", "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}}})
|
10496
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
10497
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000004')}).limit(-1)
|
10498
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10499
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10502
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f917000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10503
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10504
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
10505
|
+
Parameters: {"eid"=>"4f287b4f816134f917000006"}
|
10506
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000006')}).limit(-1).sort([[:_id, :asc]])
|
10507
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b4f816134f917000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f287b4f816134f917000007'), "action_type"=>"open", "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}}})
|
10508
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
10509
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000006')}).limit(-1)
|
10510
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10511
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10512
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10514
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f917000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10515
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10516
|
+
Processing by MailSpy::TrackingController#link as HTML
|
10517
|
+
Parameters: {"eid"=>"4f287b4f816134f917000008", "url"=>"http://google.com", "n"=>"0"}
|
10518
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000008')}).limit(-1).sort([[:_id, :asc]])
|
10519
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b4f816134f917000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f287b4f816134f917000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}}})
|
10520
|
+
Redirected to http://google.com
|
10521
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
10522
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b4f816134f917000008')}).limit(-1)
|
10523
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10524
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10525
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10526
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10527
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b4f816134f91700000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:37:51 UTC, "updated_at"=>2012-01-31 23:37:51 UTC, "created_at"=>2012-01-31 23:37:51 UTC}])
|
10528
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10529
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10530
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10531
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10533
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10534
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
10535
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
10536
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10537
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
10538
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b7e816134f91a000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:38 UTC, "updated_at"=>2012-01-31 23:38:38 UTC, "created_at"=>2012-01-31 23:38:38 UTC}])
|
10539
|
+
[AWS S3 200 0.837662] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
10540
|
+
|
10541
|
+
[AWS S3 200 0.101373] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
10542
|
+
|
10543
|
+
[AWS S3 200 0.143900] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
10544
|
+
|
10545
|
+
Rendered inline template (25.5ms)
|
10546
|
+
[AWS S3 200 0.100633] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
10547
|
+
|
10548
|
+
[AWS S3 200 0.113868] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
10549
|
+
|
10550
|
+
[AWS S3 200 0.136445] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
10551
|
+
|
10552
|
+
Rendered inline template (1.6ms)
|
10553
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10554
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10555
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10557
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b82816134f91a000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:42 UTC, "updated_at"=>2012-01-31 23:38:42 UTC, "created_at"=>2012-01-31 23:38:42 UTC}])
|
10558
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10559
|
+
Rendered inline template (1.5ms)
|
10560
|
+
Rendered inline template (54.5ms)
|
10561
|
+
|
10562
|
+
Sent mail to trcarden@gmail.com (1635ms)
|
10563
|
+
Date: Tue, 31 Jan 2012 15:38:42 -0800
|
10564
|
+
From: test@test.com
|
10565
|
+
Reply-To: testGuy
|
10566
|
+
To: trcarden@gmail.com
|
10567
|
+
Message-ID: <4f287b82afd56_f91a80434f4c15660@timly.local.mail>
|
10568
|
+
Subject: test subject
|
10569
|
+
Mime-Version: 1.0
|
10570
|
+
Content-Type: multipart/alternative;
|
10571
|
+
boundary="--==_mimepart_4f287b82931b5_f91a80434f4c15380";
|
10572
|
+
charset=UTF-8
|
10573
|
+
Content-Transfer-Encoding: 7bit
|
10574
|
+
|
10575
|
+
|
10576
|
+
|
10577
|
+
----==_mimepart_4f287b82931b5_f91a80434f4c15380
|
10578
|
+
Date: Tue, 31 Jan 2012 15:38:42 -0800
|
10579
|
+
Mime-Version: 1.0
|
10580
|
+
Content-Type: text/plain;
|
10581
|
+
charset=UTF-8
|
10582
|
+
Content-Transfer-Encoding: 7bit
|
10583
|
+
Content-ID: <4f287b82a2608_f91a80434f4c15479@timly.local.mail>
|
10584
|
+
|
10585
|
+
You should be able to click on the link and have the server record the even
|
10586
|
+
and forward you to the correct place.
|
10587
|
+
|
10588
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f287b82816134f91a000002&n=1&url=www.google.com">My home</a>
|
10589
|
+
---------------------------
|
10590
|
+
|
10591
|
+
You should be able to show images in the email client and have the server
|
10592
|
+
track the open
|
10593
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail_spy/b?eid=4f287b82816134f91a000002' style='display:none' width='1' height='1' border='0' />)
|
10594
|
+
|
10595
|
+
|
10596
|
+
|
10597
|
+
|
10598
|
+
----==_mimepart_4f287b82931b5_f91a80434f4c15380
|
10599
|
+
Date: Tue, 31 Jan 2012 15:38:42 -0800
|
10600
|
+
Mime-Version: 1.0
|
10601
|
+
Content-Type: text/html;
|
10602
|
+
charset=UTF-8
|
10603
|
+
Content-Transfer-Encoding: 7bit
|
10604
|
+
Content-ID: <4f287b82aacb0_f91a80434f4c1556b@timly.local.mail>
|
10605
|
+
|
10606
|
+
<p>
|
10607
|
+
You should be able to click on the link and have the server record the even
|
10608
|
+
and forward you to the correct place.
|
10609
|
+
|
10610
|
+
A link : <a href="http://localhost:5000/mail_spy/t?eid=4f287b82816134f91a000002&n=1&url=www.google.com">My home</a>
|
10611
|
+
</p>
|
10612
|
+
|
10613
|
+
<br>
|
10614
|
+
|
10615
|
+
<p>
|
10616
|
+
You should be able to show images in the email client and have the server
|
10617
|
+
track the open
|
10618
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail_spy/b?eid=4f287b82816134f91a000002' style='display:none' width='1' height='1' border='0' />)
|
10619
|
+
</p>
|
10620
|
+
|
10621
|
+
|
10622
|
+
|
10623
|
+
----==_mimepart_4f287b82931b5_f91a80434f4c15380--
|
10624
|
+
|
10625
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10626
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10629
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10630
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10633
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10634
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10635
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b84816134f91a000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-01-31 23:38:44 UTC, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}])
|
10636
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10638
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10639
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10640
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10641
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10642
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10643
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10644
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10646
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10647
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10648
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10650
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b84816134f91a000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:44 UTC, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}])
|
10651
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10652
|
+
Processing by MailSpy::TrackingController#action as HTML
|
10653
|
+
Parameters: {"eid"=>"4f287b84816134f91a000004", "action_type"=>"Conversion", "count"=>"3"}
|
10654
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000004')}).limit(-1).sort([[:_id, :asc]])
|
10655
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b84816134f91a000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f287b84816134f91a000005'), "action_type"=>"Conversion", "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}}})
|
10656
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
10657
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000004')}).limit(-1)
|
10658
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10659
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10660
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10662
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b84816134f91a000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:44 UTC, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}])
|
10663
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10664
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
10665
|
+
Parameters: {"eid"=>"4f287b84816134f91a000006"}
|
10666
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000006')}).limit(-1).sort([[:_id, :asc]])
|
10667
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b84816134f91a000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f287b84816134f91a000007'), "action_type"=>"open", "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}}})
|
10668
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
10669
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000006')}).limit(-1)
|
10670
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10671
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10672
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10674
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b84816134f91a000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:44 UTC, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}])
|
10675
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10676
|
+
Processing by MailSpy::TrackingController#link as HTML
|
10677
|
+
Parameters: {"eid"=>"4f287b84816134f91a000008", "url"=>"http://google.com", "n"=>"0"}
|
10678
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000008')}).limit(-1).sort([[:_id, :asc]])
|
10679
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f287b84816134f91a000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f287b84816134f91a000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}}})
|
10680
|
+
Redirected to http://google.com
|
10681
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
10682
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f287b84816134f91a000008')}).limit(-1)
|
10683
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10684
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10685
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10687
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"sent"=>false, "_id"=>BSON::ObjectId('4f287b84816134f91a00000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "template_values"=>{}, "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-01-31 23:38:44 UTC, "updated_at"=>2012-01-31 23:38:44 UTC, "created_at"=>2012-01-31 23:38:44 UTC}])
|
10688
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
10689
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
10690
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
10691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10693
|
+
[1m[35m (0.0ms)[0m rollback transaction
|