msg 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,24 +2,22 @@ require 'open-uri'
2
2
 
3
3
  module Msg
4
4
  class BouncesController < ::ApplicationController
5
- respond_to :json
6
-
7
5
  before_filter :read_json_body
8
6
 
9
7
  # When the subscription is first set up they will also POST us a SubscriptionConfirmation,
10
8
  # upon which we have to GET the given url to confirm that we are able to follow orders.
11
9
  #
12
10
  def create
13
- data = ActiveSupport::JSON.decode(request.body)
14
-
15
- if request.env['x-amz-sns-message-type'] == 'SubscriptionConfirmation'
16
- response = HTTParty.get(data['SubscribeURL'])
11
+ if request.env['x-amz-sns-message-type'] == 'SubscriptionConfirmation' || ENV['HTTP_X_AMZ_SNS_MESSAGE_TYPE'] == "SubscriptionConfirmation" || @data['Type'] == "SubscriptionConfirmation"
12
+ response = HTTParty.get(@data['SubscribeURL'])
17
13
  head :ok
18
14
 
19
15
  else
20
- mail_data = data['mail']
21
- bounce_data = data['bounce']
22
- recipients = [bounce_data['bouncedRecipients']].flatten
16
+ Rails.logger.warn ">--< bounce body: #{@data.inspect}"
17
+
18
+ mail_data = @data['mail']
19
+ bounce_data = @data['bounce']
20
+ recipients = bounce_data['bouncedRecipients']
23
21
  envelope = Msg::Envelope.find_by_email_id(mail_data['messageId'])
24
22
  recipients.each do |recipient_data|
25
23
  Msg::Bounce.create({
@@ -40,10 +38,14 @@ module Msg
40
38
  protected
41
39
 
42
40
  # Amazon sends its SNS notifications as json data with a text/plain content-type, which
43
- # rails really hates. Here we read the json body if it hasn't already been read.
41
+ # rails really doesn't like. Here, with any luck, we go back and retrieve the json body from the request.
44
42
  #
45
43
  def read_json_body
46
-
44
+ if params['mail'] || params['Type']
45
+ @data = params
46
+ else
47
+ @data = ActiveSupport::JSON.decode(request.body)
48
+ end
47
49
  end
48
50
 
49
51
  end
data/lib/msg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Msg
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
Binary file
@@ -14732,49 +14732,161 @@ lorem ipsum
14732
14732
   (0.0ms) rollback transaction
14733
14733
  Connecting to database specified by database.yml
14734
14734
  >>> Msg.add_receiving_class User
14735
-  (1.2ms) DELETE FROM "users";
14736
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
14737
-  (1.2ms) DELETE FROM "msg_messages";
14735
+  (1.4ms) DELETE FROM "users";
14736
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
14737
+  (0.8ms) DELETE FROM "msg_messages";
14738
14738
   (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_messages';
14739
14739
   (1.2ms) DELETE FROM "msg_sendings";
14740
14740
   (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_sendings';
14741
-  (1.0ms) DELETE FROM "msg_envelopes";
14741
+  (1.6ms) DELETE FROM "msg_envelopes";
14742
14742
   (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_envelopes';
14743
-  (0.6ms) DELETE FROM "msg_bounces";
14743
+  (2.3ms) DELETE FROM "msg_bounces";
14744
14744
   (0.2ms) DELETE FROM sqlite_sequence where name = 'msg_bounces';
14745
14745
   (0.1ms) begin transaction
14746
14746
   (0.1ms) SAVEPOINT active_record_1
14747
- SQL (6.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:46:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:46:39 UTC +00:00]]
14747
+ SQL (7.9ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14748
14748
   (0.1ms) RELEASE SAVEPOINT active_record_1
14749
-  (0.3ms) rollback transaction
14750
- Connecting to database specified by database.yml
14751
- >>> Msg.add_receiving_class User
14752
-  (1.6ms) DELETE FROM "users";
14753
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
14754
-  (0.7ms) DELETE FROM "msg_messages";
14755
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_messages';
14756
-  (1.1ms) DELETE FROM "msg_sendings";
14757
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_sendings';
14758
-  (1.0ms) DELETE FROM "msg_envelopes";
14759
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_envelopes';
14760
-  (0.6ms) DELETE FROM "msg_bounces";
14761
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_bounces';
14762
-  (0.1ms) begin transaction
14749
+  (0.1ms) SAVEPOINT active_record_1
14750
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14763
14752
   (0.1ms) SAVEPOINT active_record_1
14764
- SQL (5.2ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14753
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14765
14754
   (0.0ms) RELEASE SAVEPOINT active_record_1
14766
-  (0.1ms) SAVEPOINT active_record_1
14767
- SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14755
+  (0.0ms) SAVEPOINT active_record_1
14756
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14758
+  (0.0ms) SAVEPOINT active_record_1
14759
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 2], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14760
+ Rendered /Users/will/www/gems/msg/app/views/msg/msg_mailer/message_in_envelope.html.haml within layouts/msg/email (47.3ms)
14761
+
14762
+ Sent mail to bob@example.com (14ms)
14763
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
14764
+ From: bill <bill@example.com>
14765
+ To: bob <bob@example.com>
14766
+ Message-ID: 1
14767
+ Subject: title
14768
+ Mime-Version: 1.0
14769
+ Content-Type: text/html;
14770
+ charset=UTF-8
14771
+ Content-Transfer-Encoding: 7bit
14772
+
14773
+ <!DOCTYPE html>
14774
+ <html lang='en'>
14775
+ <head>
14776
+ <title>
14777
+
14778
+ </title>
14779
+ </head>
14780
+ <body>
14781
+ <div id='content'>
14782
+ lorem ipsum
14783
+ <img src='http://localhost/msg/envelopes/1'>
14784
+
14785
+ </div>
14786
+ </body>
14787
+ </html>
14788
+
14789
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 2, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.145309', "updated_at" = '2013-04-23 13:51:50.145309', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.249735' WHERE "msg_envelopes"."id" = 1
14768
14790
   (0.0ms) RELEASE SAVEPOINT active_record_1
14791
+ Processing by Msg::EnvelopesController#show as HTML
14792
+ Parameters: {"id"=>"1"}
14793
+ Msg::Envelope Load (0.1ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."id" = ? LIMIT 1 [["id", "1"]]
14794
+ SQL (0.1ms) UPDATE "msg_envelopes" SET "opened_at" = '2013-04-23 13:51:50.262067' WHERE "msg_envelopes"."id" = 1
14795
+ Redirected to http://test.host/assets/msg/ping.png
14796
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
14797
+  (1.2ms) rollback transaction
14798
+  (0.1ms) begin transaction
14799
+  (0.0ms) rollback transaction
14800
+  (0.0ms) begin transaction
14801
+  (0.0ms) rollback transaction
14802
+  (0.0ms) begin transaction
14803
+  (0.0ms) rollback transaction
14804
+  (0.0ms) begin transaction
14805
+  (0.0ms) rollback transaction
14806
+  (0.0ms) begin transaction
14807
+  (0.0ms) rollback transaction
14808
+  (0.0ms) begin transaction
14809
+  (0.0ms) rollback transaction
14810
+  (0.0ms) begin transaction
14811
+  (0.1ms) rollback transaction
14812
+  (0.0ms) begin transaction
14769
14813
   (0.0ms) SAVEPOINT active_record_1
14770
- SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14814
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14771
14815
   (0.1ms) RELEASE SAVEPOINT active_record_1
14772
14816
   (0.0ms) SAVEPOINT active_record_1
14773
- SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14774
- Rendered /Users/will/www/gems/msg/app/views/msg/msg_mailer/message_in_envelope.html.haml within layouts/msg/email (40.8ms)
14817
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14819
+ Processing by Msg::SendingsController#new as HTML
14820
+ Parameters: {"message_id"=>"1"}
14821
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
14822
+ Msg::Message Load (0.1ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
14823
+ Completed 200 OK in 68ms (Views: 4.0ms | ActiveRecord: 0.2ms)
14824
+  (0.5ms) rollback transaction
14825
+  (0.0ms) begin transaction
14826
+  (0.0ms) SAVEPOINT active_record_1
14827
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14829
+  (0.0ms) SAVEPOINT active_record_1
14830
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14832
+  (0.1ms) SELECT COUNT(*) FROM "msg_sendings"
14833
+ Processing by Msg::SendingsController#create as HTML
14834
+ Parameters: {"sending"=>{}, "message_id"=>"1"}
14835
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
14836
+ Msg::Message Load (0.1ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
14837
+  (0.0ms) SAVEPOINT active_record_1
14838
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14840
+ Redirected to http://test.host/msg/sendings/1
14841
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
14842
+  (0.1ms) SELECT COUNT(*) FROM "msg_sendings"
14843
+  (0.5ms) rollback transaction
14844
+  (0.1ms) begin transaction
14845
+  (0.0ms) SAVEPOINT active_record_1
14846
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14848
+  (0.0ms) SAVEPOINT active_record_1
14849
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14851
+  (0.1ms) SELECT COUNT(*) FROM "msg_envelopes" 
14852
+ Processing by Msg::SendingsController#create as HTML
14853
+ Parameters: {"sending"=>{}, "message_id"=>"1"}
14854
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
14855
+ Msg::Message Load (0.1ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
14856
+  (0.0ms) SAVEPOINT active_record_1
14857
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14859
+ Redirected to http://test.host/msg/sendings/1
14860
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
14861
+  (0.2ms) SELECT COUNT(*) FROM "msg_envelopes" 
14862
+  (0.6ms) rollback transaction
14863
+  (0.1ms) begin transaction
14864
+  (0.0ms) SAVEPOINT active_record_1
14865
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14867
+  (0.0ms) SAVEPOINT active_record_1
14868
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14870
+ Processing by Msg::SendingsController#index as HTML
14871
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
14872
+ Msg::Sending Load (0.1ms) SELECT "msg_sendings".* FROM "msg_sendings" ORDER BY created_at DESC
14873
+ Completed 500 Internal Server Error in 2ms
14874
+  (0.5ms) rollback transaction
14875
+  (0.1ms) begin transaction
14876
+  (0.1ms) SAVEPOINT active_record_1
14877
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14879
+  (0.0ms) SAVEPOINT active_record_1
14880
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14882
+  (0.0ms) SAVEPOINT active_record_1
14883
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14885
+  (0.0ms) SAVEPOINT active_record_1
14886
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14775
14887
 
14776
- Sent mail to bob@example.com (12ms)
14777
- Date: Tue, 23 Apr 2013 15:48:04 +0100
14888
+ Sent mail to bob@example.com (6ms)
14889
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
14778
14890
  From: bill <bill@example.com>
14779
14891
  To: bob <bob@example.com>
14780
14892
  Message-ID: 1
@@ -14800,21 +14912,2008 @@ lorem ipsum
14800
14912
  </body>
14801
14913
  </html>
14802
14914
 
14803
-  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:48:04.580036', "updated_at" = '2013-04-23 14:48:04.580036', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:48:04.690786' WHERE "msg_envelopes"."id" = 1
14915
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.419462', "updated_at" = '2013-04-23 13:51:50.419462', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.439871' WHERE "msg_envelopes"."id" = 1
14804
14916
   (0.0ms) RELEASE SAVEPOINT active_record_1
14805
-  (0.1ms) SELECT COUNT(*) FROM "msg_bounces" 
14917
+ Started POST "/msg/bounces" for 127.0.0.1 at 2013-04-23 14:51:50 +0100
14806
14918
  Processing by Msg::BouncesController#create as HTML
14807
- Msg::Envelope Load (0.1ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."email_id" = 1 LIMIT 1
14808
-  (0.1ms) SAVEPOINT active_record_1
14809
- SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["diagnostic", "smtp; 550 5.1.1 <username@example.com>... User"], ["email", "username@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", "5.1.1"], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14919
+ Parameters: {"{\"Type\":\"SubscriptionConfirmation\",\"MessageId\":\"165545c9-2a5c-472c-8df2-7ff2be2b3b1b\",\"Token\":\"2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736\",\"TopicArn\":\"arn:aws:sns:us-east-1:123456789012:MyTopic\",\"Message\":\"You have chosen to subscribe to the topic arn:aws:sns:us-east-1:123456789012:MyTopic. To confirm the subscription, visit the SubscribeURL included in this message.\",\"SubscribeURL\":\"https://amazonses.com/?Action"=>"ConfirmSubscription", "TopicArn"=>"arn:aws:sns:us-east-1:123456789012:MyTopic", "Token"=>"2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736\",\"Timestamp\":\"2012-04-26T20:45:04.751Z\",\"SignatureVersion\":\"1\",\"Signature\":\"EXAMPLEpH DcEwjAPg8O9mY8dReBSwksfg2S7WKQcikcNKWLQjwu6A4VbeS0QHVCkhRS7fUQvi2egU3N858fiTDN6bkkOxYDVrY0Ad8L10Hs3zH81mtnPk5uvvolIC1CXGu43obcgFxeL3khZl8IKvO61GWB6jI9b5 gLPoBc1Q=\",\"SigningCertURL\":\"https://sns.us-east-1.amazonaws.com/SimpleNotificationService-f3ecfb7224c7233fe7bb5f59f96de52f.pem\"}"}
14920
+ Completed 200 OK in 8ms (ActiveRecord: 0.0ms)
14921
+  (0.7ms) rollback transaction
14922
+  (0.0ms) begin transaction
14923
+  (0.0ms) SAVEPOINT active_record_1
14924
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14810
14925
   (0.0ms) RELEASE SAVEPOINT active_record_1
14811
14926
   (0.0ms) SAVEPOINT active_record_1
14812
- SQL (0.1ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00], ["diagnostic", nil], ["email", "othername@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", nil], ["updated_at", Tue, 23 Apr 2013 14:48:04 UTC +00:00]]
14927
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14813
14928
   (0.0ms) RELEASE SAVEPOINT active_record_1
14814
- Completed 200 OK in 52ms (ActiveRecord: 0.8ms)
14815
-  (0.1ms) SELECT COUNT(*) FROM "msg_bounces" 
14929
+  (0.0ms) SAVEPOINT active_record_1
14930
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14932
+  (0.0ms) SAVEPOINT active_record_1
14933
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14934
+
14935
+ Sent mail to bob@example.com (5ms)
14936
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
14937
+ From: bill <bill@example.com>
14938
+ To: bob <bob@example.com>
14939
+ Message-ID: 1
14940
+ Subject: title
14941
+ Mime-Version: 1.0
14942
+ Content-Type: text/html;
14943
+ charset=UTF-8
14944
+ Content-Transfer-Encoding: 7bit
14945
+
14946
+ <!DOCTYPE html>
14947
+ <html lang='en'>
14948
+ <head>
14949
+ <title>
14950
+
14951
+ </title>
14952
+ </head>
14953
+ <body>
14954
+ <div id='content'>
14955
+ lorem ipsum
14956
+ <img src='http://localhost/msg/envelopes/1'>
14957
+
14958
+ </div>
14959
+ </body>
14960
+ </html>
14961
+
14962
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.514155', "updated_at" = '2013-04-23 13:51:50.514155', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.534960' WHERE "msg_envelopes"."id" = 1
14963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14964
+  (0.6ms) rollback transaction
14965
+  (0.0ms) begin transaction
14966
+  (0.0ms) SAVEPOINT active_record_1
14967
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14969
+  (0.0ms) SAVEPOINT active_record_1
14970
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14972
+  (0.0ms) SAVEPOINT active_record_1
14973
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14975
+  (0.0ms) SAVEPOINT active_record_1
14976
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
14977
+
14978
+ Sent mail to bob@example.com (5ms)
14979
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
14980
+ From: bill <bill@example.com>
14981
+ To: bob <bob@example.com>
14982
+ Message-ID: 1
14983
+ Subject: title
14984
+ Mime-Version: 1.0
14985
+ Content-Type: text/html;
14986
+ charset=UTF-8
14987
+ Content-Transfer-Encoding: 7bit
14988
+
14989
+ <!DOCTYPE html>
14990
+ <html lang='en'>
14991
+ <head>
14992
+ <title>
14993
+
14994
+ </title>
14995
+ </head>
14996
+ <body>
14997
+ <div id='content'>
14998
+ lorem ipsum
14999
+ <img src='http://localhost/msg/envelopes/1'>
15000
+
15001
+ </div>
15002
+ </body>
15003
+ </html>
15004
+
15005
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.558896', "updated_at" = '2013-04-23 13:51:50.558896', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.579536' WHERE "msg_envelopes"."id" = 1
15006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15007
+  (0.7ms) rollback transaction
15008
+  (0.0ms) begin transaction
15009
+  (0.0ms) SAVEPOINT active_record_1
15010
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15012
+  (0.0ms) SAVEPOINT active_record_1
15013
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15015
+  (0.0ms) SAVEPOINT active_record_1
15016
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15018
+  (0.0ms) SAVEPOINT active_record_1
15019
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15020
+
15021
+ Sent mail to bob@example.com (5ms)
15022
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15023
+ From: bill <bill@example.com>
15024
+ To: bob <bob@example.com>
15025
+ Message-ID: 1
15026
+ Subject: title
15027
+ Mime-Version: 1.0
15028
+ Content-Type: text/html;
15029
+ charset=UTF-8
15030
+ Content-Transfer-Encoding: 7bit
15031
+
15032
+ <!DOCTYPE html>
15033
+ <html lang='en'>
15034
+ <head>
15035
+ <title>
15036
+
15037
+ </title>
15038
+ </head>
15039
+ <body>
15040
+ <div id='content'>
15041
+ lorem ipsum
15042
+ <img src='http://localhost/msg/envelopes/1'>
15043
+
15044
+ </div>
15045
+ </body>
15046
+ </html>
15047
+
15048
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.591200', "updated_at" = '2013-04-23 13:51:50.591200', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.612270' WHERE "msg_envelopes"."id" = 1
15049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14816
15050
   (0.8ms) rollback transaction
14817
-  (0.1ms) begin transaction
14818
- Processing by Msg::BouncesController#create as HTML
14819
- Completed 200 OK in 2ms (ActiveRecord: 0.0ms)
14820
-  (0.1ms) rollback transaction
15051
+  (0.0ms) begin transaction
15052
+  (0.0ms) SAVEPOINT active_record_1
15053
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15055
+  (0.0ms) SAVEPOINT active_record_1
15056
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15058
+  (0.0ms) SAVEPOINT active_record_1
15059
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15061
+  (0.0ms) SAVEPOINT active_record_1
15062
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15063
+
15064
+ Sent mail to bob@example.com (6ms)
15065
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15066
+ From: bill <bill@example.com>
15067
+ To: bob <bob@example.com>
15068
+ Message-ID: 1
15069
+ Subject: title
15070
+ Mime-Version: 1.0
15071
+ Content-Type: text/html;
15072
+ charset=UTF-8
15073
+ Content-Transfer-Encoding: 7bit
15074
+
15075
+ <!DOCTYPE html>
15076
+ <html lang='en'>
15077
+ <head>
15078
+ <title>
15079
+
15080
+ </title>
15081
+ </head>
15082
+ <body>
15083
+ <div id='content'>
15084
+ lorem ipsum
15085
+ <img src='http://localhost/msg/envelopes/1'>
15086
+
15087
+ </div>
15088
+ </body>
15089
+ </html>
15090
+
15091
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.621820', "updated_at" = '2013-04-23 13:51:50.621820', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.643926' WHERE "msg_envelopes"."id" = 1
15092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15093
+  (0.6ms) rollback transaction
15094
+  (0.1ms) begin transaction
15095
+  (0.0ms) SAVEPOINT active_record_1
15096
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15098
+  (0.0ms) SAVEPOINT active_record_1
15099
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15101
+  (0.0ms) SAVEPOINT active_record_1
15102
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15104
+  (0.0ms) SAVEPOINT active_record_1
15105
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15106
+
15107
+ Sent mail to bob@example.com (5ms)
15108
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15109
+ From: bill <bill@example.com>
15110
+ To: bob <bob@example.com>
15111
+ Message-ID: 1
15112
+ Subject: title
15113
+ Mime-Version: 1.0
15114
+ Content-Type: text/html;
15115
+ charset=UTF-8
15116
+ Content-Transfer-Encoding: 7bit
15117
+
15118
+ <!DOCTYPE html>
15119
+ <html lang='en'>
15120
+ <head>
15121
+ <title>
15122
+
15123
+ </title>
15124
+ </head>
15125
+ <body>
15126
+ <div id='content'>
15127
+ lorem ipsum
15128
+ <img src='http://localhost/msg/envelopes/1'>
15129
+
15130
+ </div>
15131
+ </body>
15132
+ </html>
15133
+
15134
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.653269', "updated_at" = '2013-04-23 13:51:50.653269', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.673590' WHERE "msg_envelopes"."id" = 1
15135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15136
+
15137
+ Sent mail to bob@example.com (6ms)
15138
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15139
+ From: bill <bill@example.com>
15140
+ To: bob <bob@example.com>
15141
+ Message-ID: 1
15142
+ Subject: title
15143
+ Mime-Version: 1.0
15144
+ Content-Type: text/html;
15145
+ charset=UTF-8
15146
+ Content-Transfer-Encoding: 7bit
15147
+
15148
+ <!DOCTYPE html>
15149
+ <html lang='en'>
15150
+ <head>
15151
+ <title>
15152
+
15153
+ </title>
15154
+ </head>
15155
+ <body>
15156
+ <div id='content'>
15157
+ lorem ipsum
15158
+ <img src='http://localhost/msg/envelopes/1'>
15159
+
15160
+ </div>
15161
+ </body>
15162
+ </html>
15163
+
15164
+  (0.1ms) SAVEPOINT active_record_1
15165
+  (0.1ms) UPDATE "msg_envelopes" SET "sent_at" = '2013-04-23 13:51:50.696596', "updated_at" = '2013-04-23 13:51:50.697426' WHERE "msg_envelopes"."id" = 1
15166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15167
+  (0.6ms) rollback transaction
15168
+  (0.1ms) begin transaction
15169
+  (0.0ms) SAVEPOINT active_record_1
15170
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15172
+  (0.0ms) SAVEPOINT active_record_1
15173
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15175
+  (0.0ms) SAVEPOINT active_record_1
15176
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15178
+  (0.0ms) SAVEPOINT active_record_1
15179
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15180
+
15181
+ Sent mail to bob@example.com (5ms)
15182
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15183
+ From: bill <bill@example.com>
15184
+ To: bob <bob@example.com>
15185
+ Message-ID: 1
15186
+ Subject: title
15187
+ Mime-Version: 1.0
15188
+ Content-Type: text/html;
15189
+ charset=UTF-8
15190
+ Content-Transfer-Encoding: 7bit
15191
+
15192
+ <!DOCTYPE html>
15193
+ <html lang='en'>
15194
+ <head>
15195
+ <title>
15196
+
15197
+ </title>
15198
+ </head>
15199
+ <body>
15200
+ <div id='content'>
15201
+ lorem ipsum
15202
+ <img src='http://localhost/msg/envelopes/1'>
15203
+
15204
+ </div>
15205
+ </body>
15206
+ </html>
15207
+
15208
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.706882', "updated_at" = '2013-04-23 13:51:50.706882', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.730539' WHERE "msg_envelopes"."id" = 1
15209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15210
+  (0.7ms) rollback transaction
15211
+  (0.1ms) begin transaction
15212
+  (0.0ms) SAVEPOINT active_record_1
15213
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15215
+  (0.0ms) SAVEPOINT active_record_1
15216
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15218
+  (0.0ms) SAVEPOINT active_record_1
15219
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15221
+  (0.0ms) SAVEPOINT active_record_1
15222
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15223
+
15224
+ Sent mail to bob@example.com (5ms)
15225
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15226
+ From: bill <bill@example.com>
15227
+ To: bob <bob@example.com>
15228
+ Message-ID: 1
15229
+ Subject: title
15230
+ Mime-Version: 1.0
15231
+ Content-Type: text/html;
15232
+ charset=UTF-8
15233
+ Content-Transfer-Encoding: 7bit
15234
+
15235
+ <!DOCTYPE html>
15236
+ <html lang='en'>
15237
+ <head>
15238
+ <title>
15239
+
15240
+ </title>
15241
+ </head>
15242
+ <body>
15243
+ <div id='content'>
15244
+ lorem ipsum
15245
+ <img src='http://localhost/msg/envelopes/1'>
15246
+
15247
+ </div>
15248
+ </body>
15249
+ </html>
15250
+
15251
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.741472', "updated_at" = '2013-04-23 13:51:50.741472', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.762922' WHERE "msg_envelopes"."id" = 1
15252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15253
+  (0.7ms) rollback transaction
15254
+  (0.0ms) begin transaction
15255
+  (0.0ms) SAVEPOINT active_record_1
15256
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15258
+  (0.0ms) SAVEPOINT active_record_1
15259
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15261
+  (0.0ms) SAVEPOINT active_record_1
15262
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15264
+  (0.0ms) SAVEPOINT active_record_1
15265
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15266
+
15267
+ Sent mail to bob@example.com (5ms)
15268
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15269
+ From: bill <bill@example.com>
15270
+ To: bob <bob@example.com>
15271
+ Message-ID: 1
15272
+ Subject: title
15273
+ Mime-Version: 1.0
15274
+ Content-Type: text/html;
15275
+ charset=UTF-8
15276
+ Content-Transfer-Encoding: 7bit
15277
+
15278
+ <!DOCTYPE html>
15279
+ <html lang='en'>
15280
+ <head>
15281
+ <title>
15282
+
15283
+ </title>
15284
+ </head>
15285
+ <body>
15286
+ <div id='content'>
15287
+ lorem ipsum
15288
+ <img src='http://localhost/msg/envelopes/1'>
15289
+
15290
+ </div>
15291
+ </body>
15292
+ </html>
15293
+
15294
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.819420', "updated_at" = '2013-04-23 13:51:50.819420', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.839123' WHERE "msg_envelopes"."id" = 1
15295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15296
+ SQL (0.1ms) UPDATE "msg_envelopes" SET "opened_at" = '2013-04-23 13:51:50.841119' WHERE "msg_envelopes"."id" = 1
15297
+  (0.7ms) rollback transaction
15298
+  (0.1ms) begin transaction
15299
+  (0.1ms) SAVEPOINT active_record_1
15300
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15302
+  (0.0ms) SAVEPOINT active_record_1
15303
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15305
+  (0.0ms) SAVEPOINT active_record_1
15306
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15308
+  (0.0ms) SAVEPOINT active_record_1
15309
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15310
+
15311
+ Sent mail to bob@example.com (6ms)
15312
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15313
+ From: bill <bill@example.com>
15314
+ To: bob <bob@example.com>
15315
+ Message-ID: 1
15316
+ Subject: title
15317
+ Mime-Version: 1.0
15318
+ Content-Type: text/html;
15319
+ charset=UTF-8
15320
+ Content-Transfer-Encoding: 7bit
15321
+
15322
+ <!DOCTYPE html>
15323
+ <html lang='en'>
15324
+ <head>
15325
+ <title>
15326
+
15327
+ </title>
15328
+ </head>
15329
+ <body>
15330
+ <div id='content'>
15331
+ lorem ipsum
15332
+ <img src='http://localhost/msg/envelopes/1'>
15333
+
15334
+ </div>
15335
+ </body>
15336
+ </html>
15337
+
15338
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.860085', "updated_at" = '2013-04-23 13:51:50.860085', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.880477' WHERE "msg_envelopes"."id" = 1
15339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15340
+  (0.0ms) SAVEPOINT active_record_1
15341
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", nil], ["bounce_type", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["diagnostic", nil], ["email", "test@spanner.org"], ["envelope_id", 1], ["raw_message", nil], ["reporter", nil], ["status", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15343
+  (0.7ms) rollback transaction
15344
+  (0.1ms) begin transaction
15345
+ Processing by Msg::BouncesController#create as HTML
15346
+ Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
15347
+  (0.1ms) rollback transaction
15348
+  (0.0ms) begin transaction
15349
+  (0.0ms) SAVEPOINT active_record_1
15350
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15352
+  (0.0ms) SAVEPOINT active_record_1
15353
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15355
+  (0.0ms) SAVEPOINT active_record_1
15356
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15358
+  (0.0ms) SAVEPOINT active_record_1
15359
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15360
+
15361
+ Sent mail to bob@example.com (6ms)
15362
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15363
+ From: bill <bill@example.com>
15364
+ To: bob <bob@example.com>
15365
+ Message-ID: 1
15366
+ Subject: title
15367
+ Mime-Version: 1.0
15368
+ Content-Type: text/html;
15369
+ charset=UTF-8
15370
+ Content-Transfer-Encoding: 7bit
15371
+
15372
+ <!DOCTYPE html>
15373
+ <html lang='en'>
15374
+ <head>
15375
+ <title>
15376
+
15377
+ </title>
15378
+ </head>
15379
+ <body>
15380
+ <div id='content'>
15381
+ lorem ipsum
15382
+ <img src='http://localhost/msg/envelopes/1'>
15383
+
15384
+ </div>
15385
+ </body>
15386
+ </html>
15387
+
15388
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.903953', "updated_at" = '2013-04-23 13:51:50.903953', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.924541' WHERE "msg_envelopes"."id" = 1
15389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15390
+  (0.1ms) SELECT COUNT(*) FROM "msg_bounces"
15391
+ Processing by Msg::BouncesController#create as HTML
15392
+ Msg::Envelope Load (0.2ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."email_id" = 1 LIMIT 1
15393
+  (0.0ms) SAVEPOINT active_record_1
15394
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["diagnostic", "smtp; 550 5.1.1 <username@example.com>... User"], ["email", "username@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", "5.1.1"], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15396
+  (0.0ms) SAVEPOINT active_record_1
15397
+ SQL (0.2ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["diagnostic", nil], ["email", "othername@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15399
+ Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
15400
+  (0.1ms) SELECT COUNT(*) FROM "msg_bounces"
15401
+  (0.6ms) rollback transaction
15402
+  (0.0ms) begin transaction
15403
+  (0.0ms) SAVEPOINT active_record_1
15404
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15406
+  (0.1ms) SAVEPOINT active_record_1
15407
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15409
+  (0.0ms) SAVEPOINT active_record_1
15410
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15412
+  (0.0ms) SAVEPOINT active_record_1
15413
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15414
+
15415
+ Sent mail to bob@example.com (5ms)
15416
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15417
+ From: bill <bill@example.com>
15418
+ To: bob <bob@example.com>
15419
+ Message-ID: 1
15420
+ Subject: title
15421
+ Mime-Version: 1.0
15422
+ Content-Type: text/html;
15423
+ charset=UTF-8
15424
+ Content-Transfer-Encoding: 7bit
15425
+
15426
+ <!DOCTYPE html>
15427
+ <html lang='en'>
15428
+ <head>
15429
+ <title>
15430
+
15431
+ </title>
15432
+ </head>
15433
+ <body>
15434
+ <div id='content'>
15435
+ lorem ipsum
15436
+ <img src='http://localhost/msg/envelopes/1'>
15437
+
15438
+ </div>
15439
+ </body>
15440
+ </html>
15441
+
15442
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:50.947953', "updated_at" = '2013-04-23 13:51:50.947953', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:50.968253' WHERE "msg_envelopes"."id" = 1
15443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15444
+
15445
+ Sent mail to bob@example.com (7ms)
15446
+ Date: Tue, 23 Apr 2013 14:51:50 +0100
15447
+ From: bill <bill@example.com>
15448
+ To: bob <bob@example.com>
15449
+ Message-ID: 1
15450
+ Subject: title
15451
+ Mime-Version: 1.0
15452
+ Content-Type: text/html;
15453
+ charset=UTF-8
15454
+ Content-Transfer-Encoding: 7bit
15455
+
15456
+ <!DOCTYPE html>
15457
+ <html lang='en'>
15458
+ <head>
15459
+ <title>
15460
+
15461
+ </title>
15462
+ </head>
15463
+ <body>
15464
+ <div id='content'>
15465
+ lorem ipsum
15466
+ <img src='http://localhost/msg/envelopes/1'>
15467
+
15468
+ </div>
15469
+ </body>
15470
+ </html>
15471
+
15472
+  (0.7ms) rollback transaction
15473
+  (0.0ms) begin transaction
15474
+  (0.0ms) SAVEPOINT active_record_1
15475
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:50 UTC +00:00]]
15476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15477
+  (0.0ms) SAVEPOINT active_record_1
15478
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15480
+  (0.0ms) SAVEPOINT active_record_1
15481
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15483
+  (0.0ms) SAVEPOINT active_record_1
15484
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15485
+
15486
+ Sent mail to bob@example.com (6ms)
15487
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15488
+ From: bill <bill@example.com>
15489
+ To: bob <bob@example.com>
15490
+ Message-ID: 1
15491
+ Subject: title
15492
+ Mime-Version: 1.0
15493
+ Content-Type: text/html;
15494
+ charset=UTF-8
15495
+ Content-Transfer-Encoding: 7bit
15496
+
15497
+ <!DOCTYPE html>
15498
+ <html lang='en'>
15499
+ <head>
15500
+ <title>
15501
+
15502
+ </title>
15503
+ </head>
15504
+ <body>
15505
+ <div id='content'>
15506
+ lorem ipsum
15507
+ <img src='http://localhost/msg/envelopes/1'>
15508
+
15509
+ </div>
15510
+ </body>
15511
+ </html>
15512
+
15513
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:51.004570', "updated_at" = '2013-04-23 13:51:51.004570', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:51.025041' WHERE "msg_envelopes"."id" = 1
15514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15515
+
15516
+ Sent mail to bob@example.com (7ms)
15517
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15518
+ From: bill <bill@example.com>
15519
+ To: bob <bob@example.com>
15520
+ Message-ID: 1
15521
+ Subject: title
15522
+ Mime-Version: 1.0
15523
+ Content-Type: text/html;
15524
+ charset=UTF-8
15525
+ Content-Transfer-Encoding: 7bit
15526
+
15527
+ <!DOCTYPE html>
15528
+ <html lang='en'>
15529
+ <head>
15530
+ <title>
15531
+
15532
+ </title>
15533
+ </head>
15534
+ <body>
15535
+ <div id='content'>
15536
+ lorem ipsum
15537
+ <img src='http://localhost/msg/envelopes/1'>
15538
+
15539
+ </div>
15540
+ </body>
15541
+ </html>
15542
+
15543
+  (0.8ms) rollback transaction
15544
+  (0.0ms) begin transaction
15545
+  (0.0ms) SAVEPOINT active_record_1
15546
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15548
+  (0.0ms) SAVEPOINT active_record_1
15549
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15551
+  (0.0ms) SAVEPOINT active_record_1
15552
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15554
+  (0.0ms) SAVEPOINT active_record_1
15555
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15556
+
15557
+ Sent mail to bob@example.com (5ms)
15558
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15559
+ From: bill <bill@example.com>
15560
+ To: bob <bob@example.com>
15561
+ Message-ID: 1
15562
+ Subject: title
15563
+ Mime-Version: 1.0
15564
+ Content-Type: text/html;
15565
+ charset=UTF-8
15566
+ Content-Transfer-Encoding: 7bit
15567
+
15568
+ <!DOCTYPE html>
15569
+ <html lang='en'>
15570
+ <head>
15571
+ <title>
15572
+
15573
+ </title>
15574
+ </head>
15575
+ <body>
15576
+ <div id='content'>
15577
+ lorem ipsum
15578
+ <img src='http://localhost/msg/envelopes/1'>
15579
+
15580
+ </div>
15581
+ </body>
15582
+ </html>
15583
+
15584
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:51.059772', "updated_at" = '2013-04-23 13:51:51.059772', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:51.079584' WHERE "msg_envelopes"."id" = 1
15585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15586
+
15587
+ Sent mail to bob@example.com (9ms)
15588
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15589
+ From: bill <bill@example.com>
15590
+ To: bob <bob@example.com>
15591
+ Message-ID: 1
15592
+ Subject: title
15593
+ Mime-Version: 1.0
15594
+ Content-Type: text/html;
15595
+ charset=UTF-8
15596
+ Content-Transfer-Encoding: 7bit
15597
+
15598
+ <!DOCTYPE html>
15599
+ <html lang='en'>
15600
+ <head>
15601
+ <title>
15602
+
15603
+ </title>
15604
+ </head>
15605
+ <body>
15606
+ <div id='content'>
15607
+ lorem ipsum
15608
+ <img src='http://localhost/msg/envelopes/1'>
15609
+
15610
+ </div>
15611
+ </body>
15612
+ </html>
15613
+
15614
+  (0.6ms) rollback transaction
15615
+  (0.1ms) begin transaction
15616
+  (0.0ms) SAVEPOINT active_record_1
15617
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15619
+  (0.0ms) SAVEPOINT active_record_1
15620
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15622
+  (0.0ms) SAVEPOINT active_record_1
15623
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15625
+  (0.0ms) SAVEPOINT active_record_1
15626
+ SQL (0.5ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15627
+
15628
+ Sent mail to bob@example.com (5ms)
15629
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15630
+ From: bill <bill@example.com>
15631
+ To: bob <bob@example.com>
15632
+ Message-ID: 1
15633
+ Subject: title
15634
+ Mime-Version: 1.0
15635
+ Content-Type: text/html;
15636
+ charset=UTF-8
15637
+ Content-Transfer-Encoding: 7bit
15638
+
15639
+ <!DOCTYPE html>
15640
+ <html lang='en'>
15641
+ <head>
15642
+ <title>
15643
+
15644
+ </title>
15645
+ </head>
15646
+ <body>
15647
+ <div id='content'>
15648
+ lorem ipsum
15649
+ <img src='http://localhost/msg/envelopes/1'>
15650
+
15651
+ </div>
15652
+ </body>
15653
+ </html>
15654
+
15655
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:51.115486', "updated_at" = '2013-04-23 13:51:51.115486', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:51.139295' WHERE "msg_envelopes"."id" = 1
15656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15657
+
15658
+ Sent mail to bob@example.com (5ms)
15659
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15660
+ From: bill <bill@example.com>
15661
+ To: bob <bob@example.com>
15662
+ Message-ID: 1
15663
+ Subject: title
15664
+ Mime-Version: 1.0
15665
+ Content-Type: text/html;
15666
+ charset=UTF-8
15667
+ Content-Transfer-Encoding: 7bit
15668
+
15669
+ <!DOCTYPE html>
15670
+ <html lang='en'>
15671
+ <head>
15672
+ <title>
15673
+
15674
+ </title>
15675
+ </head>
15676
+ <body>
15677
+ <div id='content'>
15678
+ lorem ipsum
15679
+ <img src='http://localhost/msg/envelopes/1'>
15680
+
15681
+ </div>
15682
+ </body>
15683
+ </html>
15684
+
15685
+  (0.7ms) rollback transaction
15686
+  (0.0ms) begin transaction
15687
+  (0.0ms) SAVEPOINT active_record_1
15688
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15690
+  (0.0ms) SAVEPOINT active_record_1
15691
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15693
+  (0.0ms) SAVEPOINT active_record_1
15694
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15696
+  (0.0ms) SAVEPOINT active_record_1
15697
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15698
+
15699
+ Sent mail to bob@example.com (5ms)
15700
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15701
+ From: bill <bill@example.com>
15702
+ To: bob <bob@example.com>
15703
+ Message-ID: 1
15704
+ Subject: title
15705
+ Mime-Version: 1.0
15706
+ Content-Type: text/html;
15707
+ charset=UTF-8
15708
+ Content-Transfer-Encoding: 7bit
15709
+
15710
+ <!DOCTYPE html>
15711
+ <html lang='en'>
15712
+ <head>
15713
+ <title>
15714
+
15715
+ </title>
15716
+ </head>
15717
+ <body>
15718
+ <div id='content'>
15719
+ lorem ipsum
15720
+ <img src='http://localhost/msg/envelopes/1'>
15721
+
15722
+ </div>
15723
+ </body>
15724
+ </html>
15725
+
15726
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:51.172378', "updated_at" = '2013-04-23 13:51:51.172378', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:51.243396' WHERE "msg_envelopes"."id" = 1
15727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15728
+
15729
+ Sent mail to bob@example.com (6ms)
15730
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15731
+ From: bill <bill@example.com>
15732
+ To: bob <bob@example.com>
15733
+ Message-ID: 1
15734
+ Subject: title
15735
+ Mime-Version: 1.0
15736
+ Content-Type: text/html;
15737
+ charset=UTF-8
15738
+ Content-Transfer-Encoding: 7bit
15739
+
15740
+ <!DOCTYPE html>
15741
+ <html lang='en'>
15742
+ <head>
15743
+ <title>
15744
+
15745
+ </title>
15746
+ </head>
15747
+ <body>
15748
+ <div id='content'>
15749
+ lorem ipsum
15750
+ <img src='http://localhost/msg/envelopes/1'>
15751
+
15752
+ </div>
15753
+ </body>
15754
+ </html>
15755
+
15756
+  (0.7ms) rollback transaction
15757
+  (0.0ms) begin transaction
15758
+  (0.0ms) SAVEPOINT active_record_1
15759
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15761
+  (0.0ms) SAVEPOINT active_record_1
15762
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15764
+  (0.0ms) SAVEPOINT active_record_1
15765
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15767
+  (0.0ms) SAVEPOINT active_record_1
15768
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15769
+
15770
+ Sent mail to bob@example.com (5ms)
15771
+ Date: Tue, 23 Apr 2013 14:51:51 +0100
15772
+ From: bill <bill@example.com>
15773
+ To: bob <bob@example.com>
15774
+ Message-ID: 1
15775
+ Subject: title
15776
+ Mime-Version: 1.0
15777
+ Content-Type: text/html;
15778
+ charset=UTF-8
15779
+ Content-Transfer-Encoding: 7bit
15780
+
15781
+ <!DOCTYPE html>
15782
+ <html lang='en'>
15783
+ <head>
15784
+ <title>
15785
+
15786
+ </title>
15787
+ </head>
15788
+ <body>
15789
+ <div id='content'>
15790
+ lorem ipsum
15791
+ <img src='http://localhost/msg/envelopes/1'>
15792
+
15793
+ </div>
15794
+ </body>
15795
+ </html>
15796
+
15797
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 13:51:51.271767', "updated_at" = '2013-04-23 13:51:51.271767', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 13:51:51.292949' WHERE "msg_envelopes"."id" = 1
15798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15799
+ Started POST "/msg/bounces" for 127.0.0.1 at 2013-04-23 14:51:51 +0100
15800
+ Processing by Msg::BouncesController#create as HTML
15801
+ Parameters: {"{\"notificationType\":\"Bounce\",\"bounce\":{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns"=>nil, "email.example.com\",\"bouncedRecipients\":"=>{"{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp"=>nil}, "550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}"=>{",\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"},\"mail\":{\"timestamp\":\"2012-06-19T01:05:45.000Z\",\"source\":\"sender@example.com\",\"messageId\":1,\"destination\":"=>{"\"username@example.com\""=>{"}}"=>nil}}}}
15802
+ Msg::Envelope Load (0.1ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."email_id" = 1 LIMIT 1
15803
+  (0.0ms) SAVEPOINT active_record_1
15804
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["diagnostic", "smtp; 550 5.1.1 <username@example.com>... User"], ["email", "username@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", "5.1.1"], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15806
+  (0.0ms) SAVEPOINT active_record_1
15807
+ SQL (0.1ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00], ["diagnostic", nil], ["email", "othername@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", nil], ["updated_at", Tue, 23 Apr 2013 13:51:51 UTC +00:00]]
15808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15809
+ Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
15810
+  (0.7ms) rollback transaction
15811
+ Connecting to database specified by database.yml
15812
+ >>> Msg.add_receiving_class User
15813
+  (1.4ms) DELETE FROM "users";
15814
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
15815
+  (0.8ms) DELETE FROM "msg_messages";
15816
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_messages';
15817
+  (1.3ms) DELETE FROM "msg_sendings";
15818
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_sendings';
15819
+  (1.8ms) DELETE FROM "msg_envelopes";
15820
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_envelopes';
15821
+  (2.8ms) DELETE FROM "msg_bounces";
15822
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_bounces';
15823
+  (0.1ms) begin transaction
15824
+ Processing by Msg::BouncesController#create as HTML
15825
+ Completed 200 OK in 11ms (ActiveRecord: 0.0ms)
15826
+  (0.1ms) rollback transaction
15827
+  (0.1ms) begin transaction
15828
+  (0.1ms) SAVEPOINT active_record_1
15829
+ SQL (9.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00]]
15830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15831
+  (0.1ms) SAVEPOINT active_record_1
15832
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00]]
15833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15834
+  (0.0ms) SAVEPOINT active_record_1
15835
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00]]
15836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15837
+  (0.0ms) SAVEPOINT active_record_1
15838
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:00 UTC +00:00]]
15839
+
15840
+ Sent mail to bob@example.com (23ms)
15841
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
15842
+ From: bill <bill@example.com>
15843
+ To: bob <bob@example.com>
15844
+ Message-ID: 1
15845
+ Subject: title
15846
+ Mime-Version: 1.0
15847
+ Content-Type: text/html;
15848
+ charset=UTF-8
15849
+ Content-Transfer-Encoding: 7bit
15850
+
15851
+ <!DOCTYPE html>
15852
+ <html lang='en'>
15853
+ <head>
15854
+ <title>
15855
+
15856
+ </title>
15857
+ </head>
15858
+ <body>
15859
+ <div id='content'>
15860
+ lorem ipsum
15861
+ <img src='http://localhost/msg/envelopes/1'>
15862
+
15863
+ </div>
15864
+ </body>
15865
+ </html>
15866
+
15867
+  (0.4ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:00.994032', "updated_at" = '2013-04-23 14:12:00.994032', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.105456' WHERE "msg_envelopes"."id" = 1
15868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15869
+  (0.1ms) SELECT COUNT(*) FROM "msg_bounces" 
15870
+ Processing by Msg::BouncesController#create as HTML
15871
+ Msg::Envelope Load (0.2ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."email_id" = 1 LIMIT 1
15872
+  (0.1ms) SAVEPOINT active_record_1
15873
+ SQL (0.5ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["diagnostic", "smtp; 550 5.1.1 <username@example.com>... User"], ["email", "username@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", "5.1.1"], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15875
+  (0.1ms) SAVEPOINT active_record_1
15876
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["diagnostic", nil], ["email", "othername@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15878
+ Completed 200 OK in 73ms (ActiveRecord: 1.2ms)
15879
+  (0.1ms) SELECT COUNT(*) FROM "msg_bounces" 
15880
+  (0.7ms) rollback transaction
15881
+  (0.1ms) begin transaction
15882
+  (0.0ms) SAVEPOINT active_record_1
15883
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15885
+  (0.0ms) SAVEPOINT active_record_1
15886
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15888
+  (0.0ms) SAVEPOINT active_record_1
15889
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15891
+  (0.0ms) SAVEPOINT active_record_1
15892
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15893
+
15894
+ Sent mail to bob@example.com (7ms)
15895
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
15896
+ From: bill <bill@example.com>
15897
+ To: bob <bob@example.com>
15898
+ Message-ID: 1
15899
+ Subject: title
15900
+ Mime-Version: 1.0
15901
+ Content-Type: text/html;
15902
+ charset=UTF-8
15903
+ Content-Transfer-Encoding: 7bit
15904
+
15905
+ <!DOCTYPE html>
15906
+ <html lang='en'>
15907
+ <head>
15908
+ <title>
15909
+
15910
+ </title>
15911
+ </head>
15912
+ <body>
15913
+ <div id='content'>
15914
+ lorem ipsum
15915
+ <img src='http://localhost/msg/envelopes/1'>
15916
+
15917
+ </div>
15918
+ </body>
15919
+ </html>
15920
+
15921
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.207427', "updated_at" = '2013-04-23 14:12:01.207427', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.233475' WHERE "msg_envelopes"."id" = 1
15922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15923
+  (0.6ms) rollback transaction
15924
+  (0.1ms) begin transaction
15925
+  (0.0ms) SAVEPOINT active_record_1
15926
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15928
+  (0.0ms) SAVEPOINT active_record_1
15929
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15931
+  (0.0ms) SAVEPOINT active_record_1
15932
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15934
+  (0.0ms) SAVEPOINT active_record_1
15935
+ SQL (0.5ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15936
+
15937
+ Sent mail to bob@example.com (6ms)
15938
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
15939
+ From: bill <bill@example.com>
15940
+ To: bob <bob@example.com>
15941
+ Message-ID: 1
15942
+ Subject: title
15943
+ Mime-Version: 1.0
15944
+ Content-Type: text/html;
15945
+ charset=UTF-8
15946
+ Content-Transfer-Encoding: 7bit
15947
+
15948
+ <!DOCTYPE html>
15949
+ <html lang='en'>
15950
+ <head>
15951
+ <title>
15952
+
15953
+ </title>
15954
+ </head>
15955
+ <body>
15956
+ <div id='content'>
15957
+ lorem ipsum
15958
+ <img src='http://localhost/msg/envelopes/1'>
15959
+
15960
+ </div>
15961
+ </body>
15962
+ </html>
15963
+
15964
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.257846', "updated_at" = '2013-04-23 14:12:01.257846', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.281014' WHERE "msg_envelopes"."id" = 1
15965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15966
+  (0.7ms) rollback transaction
15967
+  (0.1ms) begin transaction
15968
+  (0.0ms) SAVEPOINT active_record_1
15969
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15971
+  (0.0ms) SAVEPOINT active_record_1
15972
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15974
+  (0.0ms) SAVEPOINT active_record_1
15975
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15977
+  (0.0ms) SAVEPOINT active_record_1
15978
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
15979
+
15980
+ Sent mail to bob@example.com (6ms)
15981
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
15982
+ From: bill <bill@example.com>
15983
+ To: bob <bob@example.com>
15984
+ Message-ID: 1
15985
+ Subject: title
15986
+ Mime-Version: 1.0
15987
+ Content-Type: text/html;
15988
+ charset=UTF-8
15989
+ Content-Transfer-Encoding: 7bit
15990
+
15991
+ <!DOCTYPE html>
15992
+ <html lang='en'>
15993
+ <head>
15994
+ <title>
15995
+
15996
+ </title>
15997
+ </head>
15998
+ <body>
15999
+ <div id='content'>
16000
+ lorem ipsum
16001
+ <img src='http://localhost/msg/envelopes/1'>
16002
+
16003
+ </div>
16004
+ </body>
16005
+ </html>
16006
+
16007
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.293576', "updated_at" = '2013-04-23 14:12:01.293576', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.317874' WHERE "msg_envelopes"."id" = 1
16008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16009
+  (0.6ms) rollback transaction
16010
+  (0.1ms) begin transaction
16011
+  (0.1ms) SAVEPOINT active_record_1
16012
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16014
+  (0.0ms) SAVEPOINT active_record_1
16015
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16017
+  (0.0ms) SAVEPOINT active_record_1
16018
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16020
+  (0.0ms) SAVEPOINT active_record_1
16021
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16022
+
16023
+ Sent mail to bob@example.com (7ms)
16024
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16025
+ From: bill <bill@example.com>
16026
+ To: bob <bob@example.com>
16027
+ Message-ID: 1
16028
+ Subject: title
16029
+ Mime-Version: 1.0
16030
+ Content-Type: text/html;
16031
+ charset=UTF-8
16032
+ Content-Transfer-Encoding: 7bit
16033
+
16034
+ <!DOCTYPE html>
16035
+ <html lang='en'>
16036
+ <head>
16037
+ <title>
16038
+
16039
+ </title>
16040
+ </head>
16041
+ <body>
16042
+ <div id='content'>
16043
+ lorem ipsum
16044
+ <img src='http://localhost/msg/envelopes/1'>
16045
+
16046
+ </div>
16047
+ </body>
16048
+ </html>
16049
+
16050
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.328611', "updated_at" = '2013-04-23 14:12:01.328611', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.355913' WHERE "msg_envelopes"."id" = 1
16051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16052
+  (0.7ms) rollback transaction
16053
+  (0.1ms) begin transaction
16054
+  (0.0ms) SAVEPOINT active_record_1
16055
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16057
+  (0.0ms) SAVEPOINT active_record_1
16058
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16060
+  (0.0ms) SAVEPOINT active_record_1
16061
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16063
+  (0.0ms) SAVEPOINT active_record_1
16064
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16065
+
16066
+ Sent mail to bob@example.com (6ms)
16067
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16068
+ From: bill <bill@example.com>
16069
+ To: bob <bob@example.com>
16070
+ Message-ID: 1
16071
+ Subject: title
16072
+ Mime-Version: 1.0
16073
+ Content-Type: text/html;
16074
+ charset=UTF-8
16075
+ Content-Transfer-Encoding: 7bit
16076
+
16077
+ <!DOCTYPE html>
16078
+ <html lang='en'>
16079
+ <head>
16080
+ <title>
16081
+
16082
+ </title>
16083
+ </head>
16084
+ <body>
16085
+ <div id='content'>
16086
+ lorem ipsum
16087
+ <img src='http://localhost/msg/envelopes/1'>
16088
+
16089
+ </div>
16090
+ </body>
16091
+ </html>
16092
+
16093
+  (0.4ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.368411', "updated_at" = '2013-04-23 14:12:01.368411', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.392713' WHERE "msg_envelopes"."id" = 1
16094
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16095
+  (0.7ms) rollback transaction
16096
+  (0.1ms) begin transaction
16097
+  (0.0ms) SAVEPOINT active_record_1
16098
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16100
+  (0.0ms) SAVEPOINT active_record_1
16101
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16103
+  (0.0ms) SAVEPOINT active_record_1
16104
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16106
+  (0.0ms) SAVEPOINT active_record_1
16107
+ SQL (0.6ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16108
+
16109
+ Sent mail to bob@example.com (6ms)
16110
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16111
+ From: bill <bill@example.com>
16112
+ To: bob <bob@example.com>
16113
+ Message-ID: 1
16114
+ Subject: title
16115
+ Mime-Version: 1.0
16116
+ Content-Type: text/html;
16117
+ charset=UTF-8
16118
+ Content-Transfer-Encoding: 7bit
16119
+
16120
+ <!DOCTYPE html>
16121
+ <html lang='en'>
16122
+ <head>
16123
+ <title>
16124
+
16125
+ </title>
16126
+ </head>
16127
+ <body>
16128
+ <div id='content'>
16129
+ lorem ipsum
16130
+ <img src='http://localhost/msg/envelopes/1'>
16131
+
16132
+ </div>
16133
+ </body>
16134
+ </html>
16135
+
16136
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.405135', "updated_at" = '2013-04-23 14:12:01.405135', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.432910' WHERE "msg_envelopes"."id" = 1
16137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16138
+
16139
+ Sent mail to bob@example.com (7ms)
16140
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16141
+ From: bill <bill@example.com>
16142
+ To: bob <bob@example.com>
16143
+ Message-ID: 1
16144
+ Subject: title
16145
+ Mime-Version: 1.0
16146
+ Content-Type: text/html;
16147
+ charset=UTF-8
16148
+ Content-Transfer-Encoding: 7bit
16149
+
16150
+ <!DOCTYPE html>
16151
+ <html lang='en'>
16152
+ <head>
16153
+ <title>
16154
+
16155
+ </title>
16156
+ </head>
16157
+ <body>
16158
+ <div id='content'>
16159
+ lorem ipsum
16160
+ <img src='http://localhost/msg/envelopes/1'>
16161
+
16162
+ </div>
16163
+ </body>
16164
+ </html>
16165
+
16166
+  (0.1ms) SAVEPOINT active_record_1
16167
+  (0.2ms) UPDATE "msg_envelopes" SET "sent_at" = '2013-04-23 14:12:01.457889', "updated_at" = '2013-04-23 14:12:01.459337' WHERE "msg_envelopes"."id" = 1
16168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16169
+  (0.8ms) rollback transaction
16170
+  (0.1ms) begin transaction
16171
+  (0.1ms) SAVEPOINT active_record_1
16172
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16174
+  (0.0ms) SAVEPOINT active_record_1
16175
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16177
+  (0.0ms) SAVEPOINT active_record_1
16178
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16180
+  (0.0ms) SAVEPOINT active_record_1
16181
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16182
+
16183
+ Sent mail to bob@example.com (6ms)
16184
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16185
+ From: bill <bill@example.com>
16186
+ To: bob <bob@example.com>
16187
+ Message-ID: 1
16188
+ Subject: title
16189
+ Mime-Version: 1.0
16190
+ Content-Type: text/html;
16191
+ charset=UTF-8
16192
+ Content-Transfer-Encoding: 7bit
16193
+
16194
+ <!DOCTYPE html>
16195
+ <html lang='en'>
16196
+ <head>
16197
+ <title>
16198
+
16199
+ </title>
16200
+ </head>
16201
+ <body>
16202
+ <div id='content'>
16203
+ lorem ipsum
16204
+ <img src='http://localhost/msg/envelopes/1'>
16205
+
16206
+ </div>
16207
+ </body>
16208
+ </html>
16209
+
16210
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.472258', "updated_at" = '2013-04-23 14:12:01.472258', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.495025' WHERE "msg_envelopes"."id" = 1
16211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16212
+ SQL (0.1ms) UPDATE "msg_envelopes" SET "opened_at" = '2013-04-23 14:12:01.497101' WHERE "msg_envelopes"."id" = 1
16213
+  (0.7ms) rollback transaction
16214
+  (0.1ms) begin transaction
16215
+  (0.0ms) SAVEPOINT active_record_1
16216
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16218
+  (0.0ms) SAVEPOINT active_record_1
16219
+ SQL (0.6ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16221
+  (0.0ms) SAVEPOINT active_record_1
16222
+ SQL (0.5ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16224
+  (0.1ms) SAVEPOINT active_record_1
16225
+ SQL (0.5ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16226
+
16227
+ Sent mail to bob@example.com (11ms)
16228
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16229
+ From: bill <bill@example.com>
16230
+ To: bob <bob@example.com>
16231
+ Message-ID: 1
16232
+ Subject: title
16233
+ Mime-Version: 1.0
16234
+ Content-Type: text/html;
16235
+ charset=UTF-8
16236
+ Content-Transfer-Encoding: 7bit
16237
+
16238
+ <!DOCTYPE html>
16239
+ <html lang='en'>
16240
+ <head>
16241
+ <title>
16242
+
16243
+ </title>
16244
+ </head>
16245
+ <body>
16246
+ <div id='content'>
16247
+ lorem ipsum
16248
+ <img src='http://localhost/msg/envelopes/1'>
16249
+
16250
+ </div>
16251
+ </body>
16252
+ </html>
16253
+
16254
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.510809', "updated_at" = '2013-04-23 14:12:01.510809', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.540430' WHERE "msg_envelopes"."id" = 1
16255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16256
+  (4.9ms) rollback transaction
16257
+  (0.1ms) begin transaction
16258
+  (0.0ms) SAVEPOINT active_record_1
16259
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16261
+  (0.1ms) SAVEPOINT active_record_1
16262
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16264
+  (0.0ms) SAVEPOINT active_record_1
16265
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16267
+  (0.1ms) SAVEPOINT active_record_1
16268
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16269
+
16270
+ Sent mail to bob@example.com (7ms)
16271
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16272
+ From: bill <bill@example.com>
16273
+ To: bob <bob@example.com>
16274
+ Message-ID: 1
16275
+ Subject: title
16276
+ Mime-Version: 1.0
16277
+ Content-Type: text/html;
16278
+ charset=UTF-8
16279
+ Content-Transfer-Encoding: 7bit
16280
+
16281
+ <!DOCTYPE html>
16282
+ <html lang='en'>
16283
+ <head>
16284
+ <title>
16285
+
16286
+ </title>
16287
+ </head>
16288
+ <body>
16289
+ <div id='content'>
16290
+ lorem ipsum
16291
+ <img src='http://localhost/msg/envelopes/1'>
16292
+
16293
+ </div>
16294
+ </body>
16295
+ </html>
16296
+
16297
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.558404', "updated_at" = '2013-04-23 14:12:01.558404', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.634468' WHERE "msg_envelopes"."id" = 1
16298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16299
+  (0.0ms) SAVEPOINT active_record_1
16300
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", nil], ["bounce_type", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["diagnostic", nil], ["email", "test@spanner.org"], ["envelope_id", 1], ["raw_message", nil], ["reporter", nil], ["status", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16302
+  (0.7ms) rollback transaction
16303
+  (0.1ms) begin transaction
16304
+  (0.0ms) SAVEPOINT active_record_1
16305
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16307
+  (0.0ms) SAVEPOINT active_record_1
16308
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16310
+  (0.0ms) SAVEPOINT active_record_1
16311
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16313
+  (0.0ms) SAVEPOINT active_record_1
16314
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16315
+
16316
+ Sent mail to bob@example.com (7ms)
16317
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16318
+ From: bill <bill@example.com>
16319
+ To: bob <bob@example.com>
16320
+ Message-ID: 1
16321
+ Subject: title
16322
+ Mime-Version: 1.0
16323
+ Content-Type: text/html;
16324
+ charset=UTF-8
16325
+ Content-Transfer-Encoding: 7bit
16326
+
16327
+ <!DOCTYPE html>
16328
+ <html lang='en'>
16329
+ <head>
16330
+ <title>
16331
+
16332
+ </title>
16333
+ </head>
16334
+ <body>
16335
+ <div id='content'>
16336
+ lorem ipsum
16337
+ <img src='http://localhost/msg/envelopes/1'>
16338
+
16339
+ </div>
16340
+ </body>
16341
+ </html>
16342
+
16343
+  (0.4ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.650629', "updated_at" = '2013-04-23 14:12:01.650629', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.674925' WHERE "msg_envelopes"."id" = 1
16344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16345
+ Started POST "/msg/bounces" for 127.0.0.1 at 2013-04-23 15:12:01 +0100
16346
+ Processing by Msg::BouncesController#create as HTML
16347
+ Parameters: {"{\"notificationType\":\"Bounce\",\"bounce\":{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns"=>nil, "email.example.com\",\"bouncedRecipients\":"=>{"{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp"=>nil}, "550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}"=>{",\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"},\"mail\":{\"timestamp\":\"2012-06-19T01:05:45.000Z\",\"source\":\"sender@example.com\",\"messageId\":1,\"destination\":"=>{"\"username@example.com\""=>{"}}"=>nil}}}}
16348
+ Msg::Envelope Load (0.1ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."email_id" = 1 LIMIT 1
16349
+  (0.1ms) SAVEPOINT active_record_1
16350
+ SQL (0.3ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["diagnostic", "smtp; 550 5.1.1 <username@example.com>... User"], ["email", "username@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", "5.1.1"], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16352
+  (0.0ms) SAVEPOINT active_record_1
16353
+ SQL (0.2ms) INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "diagnostic", "email", "envelope_id", "raw_message", "reporter", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", "General"], ["bounce_type", "Permanent"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["diagnostic", nil], ["email", "othername@example.com"], ["envelope_id", 1], ["raw_message", "{\"bounceType\":\"Permanent\",\"reportingMTA\":\"dns; email.example.com\",\"bouncedRecipients\":[{\"emailAddress\":\"username@example.com\",\"status\":\"5.1.1\",\"action\":\"failed\",\"diagnosticCode\":\"smtp; 550 5.1.1 <username@example.com>... User\"},{\"emailAddress\":\"othername@example.com\"}],\"bounceSubType\":\"General\",\"timestamp\":\"2012-06-19T01:07:52.000Z\",\"feedbackId\":\"00000138111222aa-33322211-cccc-cccc-cccc-ddddaaaa068a-000000\"}"], ["reporter", "dns; email.example.com"], ["status", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16355
+ Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
16356
+  (0.7ms) rollback transaction
16357
+  (0.0ms) begin transaction
16358
+  (0.0ms) SAVEPOINT active_record_1
16359
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16361
+  (0.0ms) SAVEPOINT active_record_1
16362
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16364
+ Processing by Msg::SendingsController#new as HTML
16365
+ Parameters: {"message_id"=>"1"}
16366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
16367
+ Msg::Message Load (0.1ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
16368
+ Completed 200 OK in 106ms (Views: 6.3ms | ActiveRecord: 0.3ms)
16369
+  (0.6ms) rollback transaction
16370
+  (0.1ms) begin transaction
16371
+  (0.0ms) SAVEPOINT active_record_1
16372
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16374
+  (0.0ms) SAVEPOINT active_record_1
16375
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16377
+  (0.1ms) SELECT COUNT(*) FROM "msg_sendings"
16378
+ Processing by Msg::SendingsController#create as HTML
16379
+ Parameters: {"sending"=>{}, "message_id"=>"1"}
16380
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
16381
+ Msg::Message Load (0.1ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
16382
+  (0.0ms) SAVEPOINT active_record_1
16383
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16385
+ Redirected to http://test.host/msg/sendings/1
16386
+ Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
16387
+  (0.1ms) SELECT COUNT(*) FROM "msg_sendings"
16388
+  (0.6ms) rollback transaction
16389
+  (0.1ms) begin transaction
16390
+  (0.1ms) SAVEPOINT active_record_1
16391
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16393
+  (0.0ms) SAVEPOINT active_record_1
16394
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16396
+  (0.1ms) SELECT COUNT(*) FROM "msg_envelopes" 
16397
+ Processing by Msg::SendingsController#create as HTML
16398
+ Parameters: {"sending"=>{}, "message_id"=>"1"}
16399
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
16400
+ Msg::Message Load (0.0ms) SELECT "msg_messages".* FROM "msg_messages" WHERE "msg_messages"."id" = ? LIMIT 1 [["id", "1"]]
16401
+  (0.0ms) SAVEPOINT active_record_1
16402
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16404
+ Redirected to http://test.host/msg/sendings/1
16405
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
16406
+  (0.1ms) SELECT COUNT(*) FROM "msg_envelopes" 
16407
+  (0.6ms) rollback transaction
16408
+  (0.1ms) begin transaction
16409
+  (0.0ms) SAVEPOINT active_record_1
16410
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16412
+  (0.0ms) SAVEPOINT active_record_1
16413
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16415
+ Processing by Msg::SendingsController#index as HTML
16416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
16417
+ Msg::Sending Load (0.2ms) SELECT "msg_sendings".* FROM "msg_sendings" ORDER BY created_at DESC
16418
+ Completed 500 Internal Server Error in 3ms
16419
+  (0.5ms) rollback transaction
16420
+  (0.1ms) begin transaction
16421
+  (0.0ms) SAVEPOINT active_record_1
16422
+ SQL (0.6ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16424
+  (0.0ms) SAVEPOINT active_record_1
16425
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16427
+  (0.0ms) SAVEPOINT active_record_1
16428
+ SQL (0.3ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16430
+  (0.1ms) SAVEPOINT active_record_1
16431
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16433
+  (0.0ms) SAVEPOINT active_record_1
16434
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 2], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16435
+
16436
+ Sent mail to bob@example.com (10ms)
16437
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16438
+ From: bill <bill@example.com>
16439
+ To: bob <bob@example.com>
16440
+ Message-ID: 1
16441
+ Subject: title
16442
+ Mime-Version: 1.0
16443
+ Content-Type: text/html;
16444
+ charset=UTF-8
16445
+ Content-Transfer-Encoding: 7bit
16446
+
16447
+ <!DOCTYPE html>
16448
+ <html lang='en'>
16449
+ <head>
16450
+ <title>
16451
+
16452
+ </title>
16453
+ </head>
16454
+ <body>
16455
+ <div id='content'>
16456
+ lorem ipsum
16457
+ <img src='http://localhost/msg/envelopes/1'>
16458
+
16459
+ </div>
16460
+ </body>
16461
+ </html>
16462
+
16463
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 2, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.905969', "updated_at" = '2013-04-23 14:12:01.905969', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.935335' WHERE "msg_envelopes"."id" = 1
16464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16465
+ Processing by Msg::EnvelopesController#show as HTML
16466
+ Parameters: {"id"=>"1"}
16467
+ Msg::Envelope Load (0.1ms) SELECT "msg_envelopes".* FROM "msg_envelopes" WHERE "msg_envelopes"."id" = ? LIMIT 1 [["id", "1"]]
16468
+ SQL (0.1ms) UPDATE "msg_envelopes" SET "opened_at" = '2013-04-23 14:12:01.941514' WHERE "msg_envelopes"."id" = 1
16469
+ Redirected to http://test.host/assets/msg/ping.png
16470
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
16471
+  (0.6ms) rollback transaction
16472
+  (0.1ms) begin transaction
16473
+  (0.0ms) SAVEPOINT active_record_1
16474
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16476
+  (0.0ms) SAVEPOINT active_record_1
16477
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16479
+  (0.0ms) SAVEPOINT active_record_1
16480
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16482
+  (0.0ms) SAVEPOINT active_record_1
16483
+ SQL (0.2ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16484
+
16485
+ Sent mail to bob@example.com (5ms)
16486
+ Date: Tue, 23 Apr 2013 15:12:01 +0100
16487
+ From: bill <bill@example.com>
16488
+ To: bob <bob@example.com>
16489
+ Message-ID: 1
16490
+ Subject: title
16491
+ Mime-Version: 1.0
16492
+ Content-Type: text/html;
16493
+ charset=UTF-8
16494
+ Content-Transfer-Encoding: 7bit
16495
+
16496
+ <!DOCTYPE html>
16497
+ <html lang='en'>
16498
+ <head>
16499
+ <title>
16500
+
16501
+ </title>
16502
+ </head>
16503
+ <body>
16504
+ <div id='content'>
16505
+ lorem ipsum
16506
+ <img src='http://localhost/msg/envelopes/1'>
16507
+
16508
+ </div>
16509
+ </body>
16510
+ </html>
16511
+
16512
+  (0.2ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:01.951112', "updated_at" = '2013-04-23 14:12:01.951112', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:01.972493' WHERE "msg_envelopes"."id" = 1
16513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16514
+ Started POST "/msg/bounces" for 127.0.0.1 at 2013-04-23 15:12:01 +0100
16515
+ Processing by Msg::BouncesController#create as HTML
16516
+ Parameters: {"{\"Type\":\"SubscriptionConfirmation\",\"MessageId\":\"165545c9-2a5c-472c-8df2-7ff2be2b3b1b\",\"Token\":\"2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736\",\"TopicArn\":\"arn:aws:sns:us-east-1:123456789012:MyTopic\",\"Message\":\"You have chosen to subscribe to the topic arn:aws:sns:us-east-1:123456789012:MyTopic. To confirm the subscription, visit the SubscribeURL included in this message.\",\"SubscribeURL\":\"https://amazonses.com/?Action"=>"ConfirmSubscription", "TopicArn"=>"arn:aws:sns:us-east-1:123456789012:MyTopic", "Token"=>"2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736\",\"Timestamp\":\"2012-04-26T20:45:04.751Z\",\"SignatureVersion\":\"1\",\"Signature\":\"EXAMPLEpH DcEwjAPg8O9mY8dReBSwksfg2S7WKQcikcNKWLQjwu6A4VbeS0QHVCkhRS7fUQvi2egU3N858fiTDN6bkkOxYDVrY0Ad8L10Hs3zH81mtnPk5uvvolIC1CXGu43obcgFxeL3khZl8IKvO61GWB6jI9b5 gLPoBc1Q=\",\"SigningCertURL\":\"https://sns.us-east-1.amazonaws.com/SimpleNotificationService-f3ecfb7224c7233fe7bb5f59f96de52f.pem\"}"}
16517
+ Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
16518
+  (0.7ms) rollback transaction
16519
+  (0.0ms) begin transaction
16520
+  (0.0ms) rollback transaction
16521
+  (0.0ms) begin transaction
16522
+  (0.0ms) rollback transaction
16523
+  (0.0ms) begin transaction
16524
+  (0.0ms) rollback transaction
16525
+  (0.0ms) begin transaction
16526
+  (0.0ms) rollback transaction
16527
+  (0.0ms) begin transaction
16528
+  (0.0ms) rollback transaction
16529
+  (0.0ms) begin transaction
16530
+  (0.0ms) rollback transaction
16531
+  (0.0ms) begin transaction
16532
+  (0.0ms) rollback transaction
16533
+  (0.1ms) begin transaction
16534
+  (0.0ms) SAVEPOINT active_record_1
16535
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16537
+  (0.0ms) SAVEPOINT active_record_1
16538
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16540
+  (0.0ms) SAVEPOINT active_record_1
16541
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:01 UTC +00:00]]
16542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16543
+  (0.0ms) SAVEPOINT active_record_1
16544
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16545
+
16546
+ Sent mail to bob@example.com (10ms)
16547
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16548
+ From: bill <bill@example.com>
16549
+ To: bob <bob@example.com>
16550
+ Message-ID: 1
16551
+ Subject: title
16552
+ Mime-Version: 1.0
16553
+ Content-Type: text/html;
16554
+ charset=UTF-8
16555
+ Content-Transfer-Encoding: 7bit
16556
+
16557
+ <!DOCTYPE html>
16558
+ <html lang='en'>
16559
+ <head>
16560
+ <title>
16561
+
16562
+ </title>
16563
+ </head>
16564
+ <body>
16565
+ <div id='content'>
16566
+ lorem ipsum
16567
+ <img src='http://localhost/msg/envelopes/1'>
16568
+
16569
+ </div>
16570
+ </body>
16571
+ </html>
16572
+
16573
+  (0.4ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:02.000703', "updated_at" = '2013-04-23 14:12:02.000703', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:02.029072' WHERE "msg_envelopes"."id" = 1
16574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16575
+
16576
+ Sent mail to bob@example.com (6ms)
16577
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16578
+ From: bill <bill@example.com>
16579
+ To: bob <bob@example.com>
16580
+ Message-ID: 1
16581
+ Subject: title
16582
+ Mime-Version: 1.0
16583
+ Content-Type: text/html;
16584
+ charset=UTF-8
16585
+ Content-Transfer-Encoding: 7bit
16586
+
16587
+ <!DOCTYPE html>
16588
+ <html lang='en'>
16589
+ <head>
16590
+ <title>
16591
+
16592
+ </title>
16593
+ </head>
16594
+ <body>
16595
+ <div id='content'>
16596
+ lorem ipsum
16597
+ <img src='http://localhost/msg/envelopes/1'>
16598
+
16599
+ </div>
16600
+ </body>
16601
+ </html>
16602
+
16603
+  (0.7ms) rollback transaction
16604
+  (0.1ms) begin transaction
16605
+  (0.0ms) SAVEPOINT active_record_1
16606
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16608
+  (0.0ms) SAVEPOINT active_record_1
16609
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16611
+  (0.0ms) SAVEPOINT active_record_1
16612
+ SQL (0.2ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16614
+  (0.0ms) SAVEPOINT active_record_1
16615
+ SQL (0.4ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16616
+
16617
+ Sent mail to bob@example.com (7ms)
16618
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16619
+ From: bill <bill@example.com>
16620
+ To: bob <bob@example.com>
16621
+ Message-ID: 1
16622
+ Subject: title
16623
+ Mime-Version: 1.0
16624
+ Content-Type: text/html;
16625
+ charset=UTF-8
16626
+ Content-Transfer-Encoding: 7bit
16627
+
16628
+ <!DOCTYPE html>
16629
+ <html lang='en'>
16630
+ <head>
16631
+ <title>
16632
+
16633
+ </title>
16634
+ </head>
16635
+ <body>
16636
+ <div id='content'>
16637
+ lorem ipsum
16638
+ <img src='http://localhost/msg/envelopes/1'>
16639
+
16640
+ </div>
16641
+ </body>
16642
+ </html>
16643
+
16644
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:02.068786', "updated_at" = '2013-04-23 14:12:02.068786', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:02.093199' WHERE "msg_envelopes"."id" = 1
16645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16646
+
16647
+ Sent mail to bob@example.com (10ms)
16648
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16649
+ From: bill <bill@example.com>
16650
+ To: bob <bob@example.com>
16651
+ Message-ID: 1
16652
+ Subject: title
16653
+ Mime-Version: 1.0
16654
+ Content-Type: text/html;
16655
+ charset=UTF-8
16656
+ Content-Transfer-Encoding: 7bit
16657
+
16658
+ <!DOCTYPE html>
16659
+ <html lang='en'>
16660
+ <head>
16661
+ <title>
16662
+
16663
+ </title>
16664
+ </head>
16665
+ <body>
16666
+ <div id='content'>
16667
+ lorem ipsum
16668
+ <img src='http://localhost/msg/envelopes/1'>
16669
+
16670
+ </div>
16671
+ </body>
16672
+ </html>
16673
+
16674
+  (0.8ms) rollback transaction
16675
+  (0.1ms) begin transaction
16676
+  (0.0ms) SAVEPOINT active_record_1
16677
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16679
+  (0.0ms) SAVEPOINT active_record_1
16680
+ SQL (0.4ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16682
+  (0.0ms) SAVEPOINT active_record_1
16683
+ SQL (0.3ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16685
+  (0.0ms) SAVEPOINT active_record_1
16686
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16687
+
16688
+ Sent mail to bob@example.com (6ms)
16689
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16690
+ From: bill <bill@example.com>
16691
+ To: bob <bob@example.com>
16692
+ Message-ID: 1
16693
+ Subject: title
16694
+ Mime-Version: 1.0
16695
+ Content-Type: text/html;
16696
+ charset=UTF-8
16697
+ Content-Transfer-Encoding: 7bit
16698
+
16699
+ <!DOCTYPE html>
16700
+ <html lang='en'>
16701
+ <head>
16702
+ <title>
16703
+
16704
+ </title>
16705
+ </head>
16706
+ <body>
16707
+ <div id='content'>
16708
+ lorem ipsum
16709
+ <img src='http://localhost/msg/envelopes/1'>
16710
+
16711
+ </div>
16712
+ </body>
16713
+ </html>
16714
+
16715
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:02.133090', "updated_at" = '2013-04-23 14:12:02.133090', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:02.206636' WHERE "msg_envelopes"."id" = 1
16716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16717
+
16718
+ Sent mail to bob@example.com (6ms)
16719
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16720
+ From: bill <bill@example.com>
16721
+ To: bob <bob@example.com>
16722
+ Message-ID: 1
16723
+ Subject: title
16724
+ Mime-Version: 1.0
16725
+ Content-Type: text/html;
16726
+ charset=UTF-8
16727
+ Content-Transfer-Encoding: 7bit
16728
+
16729
+ <!DOCTYPE html>
16730
+ <html lang='en'>
16731
+ <head>
16732
+ <title>
16733
+
16734
+ </title>
16735
+ </head>
16736
+ <body>
16737
+ <div id='content'>
16738
+ lorem ipsum
16739
+ <img src='http://localhost/msg/envelopes/1'>
16740
+
16741
+ </div>
16742
+ </body>
16743
+ </html>
16744
+
16745
+  (0.7ms) rollback transaction
16746
+  (0.1ms) begin transaction
16747
+  (0.1ms) SAVEPOINT active_record_1
16748
+ SQL (0.9ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16750
+  (0.1ms) SAVEPOINT active_record_1
16751
+ SQL (0.8ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16753
+  (0.1ms) SAVEPOINT active_record_1
16754
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16756
+  (0.1ms) SAVEPOINT active_record_1
16757
+ SQL (0.5ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16758
+
16759
+ Sent mail to bob@example.com (10ms)
16760
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16761
+ From: bill <bill@example.com>
16762
+ To: bob <bob@example.com>
16763
+ Message-ID: 1
16764
+ Subject: title
16765
+ Mime-Version: 1.0
16766
+ Content-Type: text/html;
16767
+ charset=UTF-8
16768
+ Content-Transfer-Encoding: 7bit
16769
+
16770
+ <!DOCTYPE html>
16771
+ <html lang='en'>
16772
+ <head>
16773
+ <title>
16774
+
16775
+ </title>
16776
+ </head>
16777
+ <body>
16778
+ <div id='content'>
16779
+ lorem ipsum
16780
+ <img src='http://localhost/msg/envelopes/1'>
16781
+
16782
+ </div>
16783
+ </body>
16784
+ </html>
16785
+
16786
+  (0.4ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:02.248669', "updated_at" = '2013-04-23 14:12:02.248669', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:02.288827' WHERE "msg_envelopes"."id" = 1
16787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16788
+
16789
+ Sent mail to bob@example.com (8ms)
16790
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16791
+ From: bill <bill@example.com>
16792
+ To: bob <bob@example.com>
16793
+ Message-ID: 1
16794
+ Subject: title
16795
+ Mime-Version: 1.0
16796
+ Content-Type: text/html;
16797
+ charset=UTF-8
16798
+ Content-Transfer-Encoding: 7bit
16799
+
16800
+ <!DOCTYPE html>
16801
+ <html lang='en'>
16802
+ <head>
16803
+ <title>
16804
+
16805
+ </title>
16806
+ </head>
16807
+ <body>
16808
+ <div id='content'>
16809
+ lorem ipsum
16810
+ <img src='http://localhost/msg/envelopes/1'>
16811
+
16812
+ </div>
16813
+ </body>
16814
+ </html>
16815
+
16816
+  (0.8ms) rollback transaction
16817
+  (0.1ms) begin transaction
16818
+  (0.0ms) SAVEPOINT active_record_1
16819
+ SQL (0.7ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", false], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16821
+  (0.0ms) SAVEPOINT active_record_1
16822
+ SQL (0.5ms) INSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["description", nil], ["from_address", "bill@example.com"], ["from_name", "bill"], ["function", nil], ["saved", false], ["subject", "title"], ["transactional", false], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16824
+  (0.0ms) SAVEPOINT active_record_1
16825
+ SQL (0.4ms) INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "receiving_class", "receiving_group", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["receiving_class", nil], ["receiving_group", nil], ["sent_at", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16827
+  (0.0ms) SAVEPOINT active_record_1
16828
+ SQL (0.3ms) INSERT INTO "msg_envelopes" ("contents", "created_at", "email_id", "from_address", "opened_at", "receiver_id", "receiver_type", "sending_id", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["contents", nil], ["created_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00], ["email_id", nil], ["from_address", nil], ["opened_at", nil], ["receiver_id", 1], ["receiver_type", "User"], ["sending_id", 1], ["sent_at", nil], ["subject", nil], ["to_address", nil], ["updated_at", Tue, 23 Apr 2013 14:12:02 UTC +00:00]]
16829
+
16830
+ Sent mail to bob@example.com (11ms)
16831
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16832
+ From: bill <bill@example.com>
16833
+ To: bob <bob@example.com>
16834
+ Message-ID: 1
16835
+ Subject: title
16836
+ Mime-Version: 1.0
16837
+ Content-Type: text/html;
16838
+ charset=UTF-8
16839
+ Content-Transfer-Encoding: 7bit
16840
+
16841
+ <!DOCTYPE html>
16842
+ <html lang='en'>
16843
+ <head>
16844
+ <title>
16845
+
16846
+ </title>
16847
+ </head>
16848
+ <body>
16849
+ <div id='content'>
16850
+ lorem ipsum
16851
+ <img src='http://localhost/msg/envelopes/1'>
16852
+
16853
+ </div>
16854
+ </body>
16855
+ </html>
16856
+
16857
+  (0.3ms) UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-04-23 14:12:02.337827', "updated_at" = '2013-04-23 14:12:02.337827', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-04-23 14:12:02.369445' WHERE "msg_envelopes"."id" = 1
16858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16859
+
16860
+ Sent mail to bob@example.com (7ms)
16861
+ Date: Tue, 23 Apr 2013 15:12:02 +0100
16862
+ From: bill <bill@example.com>
16863
+ To: bob <bob@example.com>
16864
+ Message-ID: 1
16865
+ Subject: title
16866
+ Mime-Version: 1.0
16867
+ Content-Type: text/html;
16868
+ charset=UTF-8
16869
+ Content-Transfer-Encoding: 7bit
16870
+
16871
+ <!DOCTYPE html>
16872
+ <html lang='en'>
16873
+ <head>
16874
+ <title>
16875
+
16876
+ </title>
16877
+ </head>
16878
+ <body>
16879
+ <div id='content'>
16880
+ lorem ipsum
16881
+ <img src='http://localhost/msg/envelopes/1'>
16882
+
16883
+ </div>
16884
+ </body>
16885
+ </html>
16886
+
16887
+  (0.7ms) rollback transaction
16888
+ Connecting to database specified by database.yml
16889
+ >>> Msg.add_receiving_class User
16890
+  (1.1ms) DELETE FROM "users";
16891
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
16892
+  (1.0ms) DELETE FROM "msg_messages";
16893
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_messages';
16894
+  (0.9ms) DELETE FROM "msg_sendings";
16895
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_sendings';
16896
+  (1.3ms) DELETE FROM "msg_envelopes";
16897
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'msg_envelopes';
16898
+  (1.7ms) DELETE FROM "msg_bounces";
16899
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'msg_bounces';
16900
+  (0.1ms) begin transaction
16901
+  (0.1ms) SAVEPOINT active_record_1
16902
+ SQL (5.0ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00]]
16903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16904
+  (0.4ms) rollback transaction
16905
+  (0.0ms) begin transaction
16906
+  (0.0ms) SAVEPOINT active_record_1
16907
+ SQL (0.5ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00]]
16908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16909
+  (0.5ms) rollback transaction
16910
+  (0.0ms) begin transaction
16911
+  (0.0ms) SAVEPOINT active_record_1
16912
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00]]
16913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16914
+  (0.5ms) rollback transaction
16915
+  (0.1ms) begin transaction
16916
+  (0.0ms) SAVEPOINT active_record_1
16917
+ SQL (0.4ms) INSERT INTO "users" ("activated_at", "admin", "authentication_token", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "invited_at", "invited_by_id", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "reminded_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activated_at", nil], ["admin", true], ["authentication_token", nil], ["created_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "bob@example.com"], ["encrypted_password", ""], ["invited_at", nil], ["invited_by_id", nil], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["name", "bob"], ["password_salt", nil], ["remember_created_at", nil], ["reminded_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 23 Apr 2013 14:25:59 UTC +00:00]]
16918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16919
+  (0.4ms) rollback transaction