msg 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +9 -0
- data/Rakefile +35 -0
- data/app/assets/images/msg/message.png +0 -0
- data/app/assets/images/msg/ping.png +0 -0
- data/app/assets/images/msg/sending.png +0 -0
- data/app/assets/javascripts/lib/jquery.peity.js +261 -0
- data/app/assets/javascripts/msg.js.coffee +6 -0
- data/app/assets/stylesheets/msg.css.sass +218 -0
- data/app/controllers/msg/bounces_controller.rb +67 -0
- data/app/controllers/msg/engine_controller.rb +23 -0
- data/app/controllers/msg/envelopes_controller.rb +22 -0
- data/app/controllers/msg/messages_controller.rb +85 -0
- data/app/controllers/msg/sendings_controller.rb +58 -0
- data/app/helpers/msg/msg_helper.rb +40 -0
- data/app/mailers/msg/devise_mailer.rb +20 -0
- data/app/mailers/msg/msg_mailer.rb +23 -0
- data/app/models/msg/bounce.rb +19 -0
- data/app/models/msg/envelope.rb +56 -0
- data/app/models/msg/message.rb +26 -0
- data/app/models/msg/sending.rb +54 -0
- data/app/views/layouts/msg/default.html.haml +30 -0
- data/app/views/layouts/msg/email.html.haml +10 -0
- data/app/views/msg/bounces/_listing.html.haml +5 -0
- data/app/views/msg/bounces/_report.html.haml +10 -0
- data/app/views/msg/bounces/index.html.haml +5 -0
- data/app/views/msg/devise_mailer/confirmation_instructions.en.html.haml +1 -0
- data/app/views/msg/devise_mailer/reset_password_instructions.en.html.haml +1 -0
- data/app/views/msg/envelopes/_listing.html.haml +5 -0
- data/app/views/msg/messages/_action_menu.html.haml +10 -0
- data/app/views/msg/messages/_form.html.haml +38 -0
- data/app/views/msg/messages/_instructions.html.haml +28 -0
- data/app/views/msg/messages/_message.html.haml +11 -0
- data/app/views/msg/messages/_saved_messages.html.haml +2 -0
- data/app/views/msg/messages/_transactional_messages.html.haml +3 -0
- data/app/views/msg/messages/edit.html.haml +7 -0
- data/app/views/msg/messages/index.html.haml +23 -0
- data/app/views/msg/messages/new.html.haml +7 -0
- data/app/views/msg/messages/preview.html.haml +4 -0
- data/app/views/msg/messages/show.html.haml +25 -0
- data/app/views/msg/msg_mailer/message_in_envelope.html.haml +2 -0
- data/app/views/msg/sendings/_form.html.haml +45 -0
- data/app/views/msg/sendings/_listing.html.haml +17 -0
- data/app/views/msg/sendings/_report.html.haml +8 -0
- data/app/views/msg/sendings/_sending.html.haml +22 -0
- data/app/views/msg/sendings/_sendings.html.haml +2 -0
- data/app/views/msg/sendings/index.html.haml +8 -0
- data/app/views/msg/sendings/new.html.haml +9 -0
- data/app/views/msg/sendings/review.html.haml +2 -0
- data/app/views/msg/sendings/show.html.haml +50 -0
- data/app/views/msg/shared/_toolbar.html.haml +17 -0
- data/config/cucumber.yml +8 -0
- data/config/locales/en.yml +76 -0
- data/config/routes.rb +26 -0
- data/db/migrate/20130320141926_msg_data.rb +54 -0
- data/db/migrate/20130327134754_sending_circumstances.rb +6 -0
- data/lib/msg.rb +88 -0
- data/lib/msg/engine.rb +23 -0
- data/lib/msg/receivers.rb +64 -0
- data/lib/msg/version.rb +3 -0
- data/lib/tasks/cucumber.rake +65 -0
- data/lib/tasks/msg_tasks.rake +4 -0
- data/spec/controllers/msg/bounces_controller_spec.rb +48 -0
- data/spec/controllers/msg/envelopes_controller_spec.rb +22 -0
- data/spec/controllers/msg/messages_controller_spec.rb +9 -0
- data/spec/controllers/msg/sendings_controller_spec.rb +47 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/user.rb +14 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +41 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +285 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +9 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/2013032210540_users.rb +49 -0
- data/spec/dummy/db/migrate/20130326093048_msg_data.msg.rb +55 -0
- data/spec/dummy/db/schema.rb +96 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +143 -0
- data/spec/dummy/log/test.log +1022 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/msg/bounces.rb +9 -0
- data/spec/factories/msg/envelopes.rb +10 -0
- data/spec/factories/msg/messages.rb +10 -0
- data/spec/factories/msg/sendings.rb +7 -0
- data/spec/factories/users.rb +11 -0
- data/spec/helpers/msg/msg_helper_spec.rb +17 -0
- data/spec/lib/msg_spec.rb +15 -0
- data/spec/mailers/msg/devise_mailer_spec.rb +21 -0
- data/spec/mailers/msg/msg_mailer_spec.rb +36 -0
- data/spec/models/msg/bounce_spec.rb +19 -0
- data/spec/models/msg/envelope_spec.rb +62 -0
- data/spec/models/msg/message_spec.rb +19 -0
- data/spec/models/msg/sending_spec.rb +10 -0
- data/spec/routing/sendings_routing_spec.rb +31 -0
- data/spec/spec_helper.rb +70 -0
- metadata +446 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
11
|
+
#
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
14
|
+
# inflect.acronym 'RESTful'
|
15
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '4ca8c99c0cad274159f28464981ae7fe60dd73edd8873af814441793a50ca00f28ae42b9d4b68291745a20dc3e87bc807dfe8eb5f9b86284769643ecff774fbb'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
Binary file
|
@@ -0,0 +1,49 @@
|
|
1
|
+
class Users < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :users do |t|
|
4
|
+
t.string :name
|
5
|
+
t.boolean :admin, :default => false
|
6
|
+
t.datetime :activated_at
|
7
|
+
t.datetime :invited_at
|
8
|
+
t.datetime :invited_by_id
|
9
|
+
t.datetime :reminded_at
|
10
|
+
|
11
|
+
## Database authenticatable
|
12
|
+
t.string :email, :null => false, :default => ""
|
13
|
+
t.string :encrypted_password, :null => false, :default => ""
|
14
|
+
|
15
|
+
## Recoverable
|
16
|
+
t.string :reset_password_token
|
17
|
+
t.datetime :reset_password_sent_at
|
18
|
+
|
19
|
+
## Rememberable
|
20
|
+
t.datetime :remember_created_at
|
21
|
+
|
22
|
+
## Trackable
|
23
|
+
t.integer :sign_in_count, :default => 0
|
24
|
+
t.datetime :current_sign_in_at
|
25
|
+
t.datetime :last_sign_in_at
|
26
|
+
t.string :current_sign_in_ip
|
27
|
+
t.string :last_sign_in_ip
|
28
|
+
|
29
|
+
## Confirmable
|
30
|
+
# t.string :confirmation_token
|
31
|
+
# t.datetime :confirmed_at
|
32
|
+
# t.datetime :confirmation_sent_at
|
33
|
+
# t.string :unconfirmed_email # Only if using reconfirmable
|
34
|
+
|
35
|
+
## Lockable
|
36
|
+
# t.integer :failed_attempts, :default => 0 # Only if lock strategy is :failed_attempts
|
37
|
+
# t.string :unlock_token # Only if unlock strategy is :email or :both
|
38
|
+
# t.datetime :locked_at
|
39
|
+
|
40
|
+
## Token authenticatable
|
41
|
+
t.string :authentication_token
|
42
|
+
|
43
|
+
## Encryptable
|
44
|
+
t.string :password_salt
|
45
|
+
|
46
|
+
t.timestamps
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# This migration comes from msg (originally 20130320141926)
|
2
|
+
class MsgData < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :msg_messages do |t|
|
5
|
+
t.string :subject
|
6
|
+
t.string :from_address
|
7
|
+
t.string :from_name
|
8
|
+
t.text :body
|
9
|
+
t.string :function
|
10
|
+
t.text :description
|
11
|
+
t.boolean :transactional, :default => false
|
12
|
+
t.boolean :saved, :default => false
|
13
|
+
t.integer :created_by_id
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
|
17
|
+
create_table :msg_sendings do |t|
|
18
|
+
t.integer :message_id
|
19
|
+
t.integer :created_by_id
|
20
|
+
t.datetime :sent_at
|
21
|
+
t.timestamps
|
22
|
+
end
|
23
|
+
add_index :msg_sendings, :message_id
|
24
|
+
add_index :msg_sendings, :created_by_id
|
25
|
+
|
26
|
+
create_table :msg_envelopes do |t|
|
27
|
+
t.integer :sending_id
|
28
|
+
t.integer :receiver_id
|
29
|
+
t.integer :email_id
|
30
|
+
t.string :receiver_type
|
31
|
+
t.string :to_address
|
32
|
+
t.string :from_address
|
33
|
+
t.string :subject
|
34
|
+
t.text :contents
|
35
|
+
t.datetime :sent_at
|
36
|
+
t.datetime :opened_at
|
37
|
+
t.timestamps
|
38
|
+
end
|
39
|
+
add_index :msg_envelopes, :sending_id
|
40
|
+
add_index :msg_envelopes, :email_id
|
41
|
+
add_index :msg_envelopes, :receiver_id
|
42
|
+
add_index :msg_envelopes, [:receiver_id, :receiver_type]
|
43
|
+
|
44
|
+
create_table :msg_bounces do |t|
|
45
|
+
t.integer :envelope_id
|
46
|
+
t.string :bounce_type
|
47
|
+
t.string :bounce_subtype
|
48
|
+
t.string :reporter
|
49
|
+
t.text :raw_message
|
50
|
+
t.timestamps
|
51
|
+
end
|
52
|
+
add_index :msg_bounces, :envelope_id
|
53
|
+
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130326093048) do
|
15
|
+
|
16
|
+
create_table "msg_bounces", :force => true do |t|
|
17
|
+
t.integer "envelope_id"
|
18
|
+
t.string "bounce_type"
|
19
|
+
t.string "bounce_subtype"
|
20
|
+
t.string "reporter"
|
21
|
+
t.text "raw_message"
|
22
|
+
t.datetime "created_at", :null => false
|
23
|
+
t.datetime "updated_at", :null => false
|
24
|
+
end
|
25
|
+
|
26
|
+
add_index "msg_bounces", ["envelope_id"], :name => "index_msg_bounces_on_envelope_id"
|
27
|
+
|
28
|
+
create_table "msg_envelopes", :force => true do |t|
|
29
|
+
t.integer "sending_id"
|
30
|
+
t.integer "receiver_id"
|
31
|
+
t.integer "email_id"
|
32
|
+
t.string "receiver_type"
|
33
|
+
t.string "to_address"
|
34
|
+
t.string "from_address"
|
35
|
+
t.string "subject"
|
36
|
+
t.text "contents"
|
37
|
+
t.datetime "sent_at"
|
38
|
+
t.datetime "opened_at"
|
39
|
+
t.datetime "created_at", :null => false
|
40
|
+
t.datetime "updated_at", :null => false
|
41
|
+
end
|
42
|
+
|
43
|
+
add_index "msg_envelopes", ["email_id"], :name => "index_msg_envelopes_on_email_id"
|
44
|
+
add_index "msg_envelopes", ["receiver_id", "receiver_type"], :name => "index_msg_envelopes_on_receiver_id_and_receiver_type"
|
45
|
+
add_index "msg_envelopes", ["receiver_id"], :name => "index_msg_envelopes_on_receiver_id"
|
46
|
+
add_index "msg_envelopes", ["sending_id"], :name => "index_msg_envelopes_on_sending_id"
|
47
|
+
|
48
|
+
create_table "msg_messages", :force => true do |t|
|
49
|
+
t.string "subject"
|
50
|
+
t.string "from_address"
|
51
|
+
t.string "from_name"
|
52
|
+
t.text "body"
|
53
|
+
t.string "function"
|
54
|
+
t.text "description"
|
55
|
+
t.boolean "transactional", :default => false
|
56
|
+
t.boolean "saved", :default => false
|
57
|
+
t.integer "created_by_id"
|
58
|
+
t.datetime "created_at", :null => false
|
59
|
+
t.datetime "updated_at", :null => false
|
60
|
+
end
|
61
|
+
|
62
|
+
create_table "msg_sendings", :force => true do |t|
|
63
|
+
t.integer "message_id"
|
64
|
+
t.integer "created_by_id"
|
65
|
+
t.datetime "sent_at"
|
66
|
+
t.datetime "created_at", :null => false
|
67
|
+
t.datetime "updated_at", :null => false
|
68
|
+
end
|
69
|
+
|
70
|
+
add_index "msg_sendings", ["created_by_id"], :name => "index_msg_sendings_on_created_by_id"
|
71
|
+
add_index "msg_sendings", ["message_id"], :name => "index_msg_sendings_on_message_id"
|
72
|
+
|
73
|
+
create_table "users", :force => true do |t|
|
74
|
+
t.string "name"
|
75
|
+
t.boolean "admin", :default => false
|
76
|
+
t.datetime "activated_at"
|
77
|
+
t.datetime "invited_at"
|
78
|
+
t.datetime "invited_by_id"
|
79
|
+
t.datetime "reminded_at"
|
80
|
+
t.string "email", :default => "", :null => false
|
81
|
+
t.string "encrypted_password", :default => "", :null => false
|
82
|
+
t.string "reset_password_token"
|
83
|
+
t.datetime "reset_password_sent_at"
|
84
|
+
t.datetime "remember_created_at"
|
85
|
+
t.integer "sign_in_count", :default => 0
|
86
|
+
t.datetime "current_sign_in_at"
|
87
|
+
t.datetime "last_sign_in_at"
|
88
|
+
t.string "current_sign_in_ip"
|
89
|
+
t.string "last_sign_in_ip"
|
90
|
+
t.string "authentication_token"
|
91
|
+
t.string "password_salt"
|
92
|
+
t.datetime "created_at", :null => false
|
93
|
+
t.datetime "updated_at", :null => false
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
Binary file
|
@@ -0,0 +1,143 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
+
Connecting to database specified by database.yml
|
7
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
8
|
+
Connecting to database specified by database.yml
|
9
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10
|
+
Migrating to Users (2013032210540)
|
11
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
12
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
14
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('2013032210540')[0m
|
15
|
+
[1m[35m (1.0ms)[0m commit transaction
|
16
|
+
Migrating to MsgData (20130325160526)
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
19
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
20
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")
|
21
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")[0m
|
22
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
23
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
24
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
25
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")[0m
|
26
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")
|
27
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
28
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
29
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130325160526')[0m
|
30
|
+
[1m[35m (0.9ms)[0m commit transaction
|
31
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
32
|
+
Connecting to database specified by database.yml
|
33
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
34
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
35
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
37
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
39
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
40
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
41
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
42
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
43
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
44
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
45
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
46
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
47
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
48
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
49
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
50
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
51
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
52
|
+
Connecting to database specified by database.yml
|
53
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
54
|
+
[1m[35m (0.7ms)[0m select sqlite_version(*)
|
55
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
56
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
57
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
58
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
59
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
60
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
61
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
62
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
63
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
64
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
65
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
66
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
67
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
68
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
69
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
70
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
71
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
72
|
+
Connecting to database specified by database.yml
|
73
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
74
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
75
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
76
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
77
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
78
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
79
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
80
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
81
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
82
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
83
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
84
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
85
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
86
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
87
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
88
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
89
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
90
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
91
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
92
|
+
Connecting to database specified by database.yml
|
93
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
94
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
95
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
96
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
97
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
98
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
99
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
100
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
101
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
102
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
103
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
104
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
105
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
106
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
107
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
108
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
109
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
110
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
111
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
112
|
+
Connecting to database specified by database.yml
|
113
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
114
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
115
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
116
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
117
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
118
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
119
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
120
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
121
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
122
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
123
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
124
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
125
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
126
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
127
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
128
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
129
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
130
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
131
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
132
|
+
Connecting to database specified by database.yml
|
133
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
134
|
+
Connecting to database specified by database.yml
|
135
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
136
|
+
Connecting to database specified by database.yml
|
137
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
138
|
+
Connecting to database specified by database.yml
|
139
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
140
|
+
Connecting to database specified by database.yml
|
141
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
142
|
+
Connecting to database specified by database.yml
|
143
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
@@ -0,0 +1,1022 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
+
Migrating to Users (2013032210540)
|
7
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
+
Connecting to database specified by database.yml
|
10
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11
|
+
Migrating to Users (2013032210540)
|
12
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
15
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('2013032210540')[0m
|
16
|
+
[1m[35m (1.5ms)[0m commit transaction
|
17
|
+
Migrating to MsgData (20130325160526)
|
18
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
20
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
21
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")
|
22
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")[0m
|
23
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
24
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
25
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
26
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")[0m
|
27
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")
|
28
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
29
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
30
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130325160526')[0m
|
31
|
+
[1m[35m (1.0ms)[0m commit transaction
|
32
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
33
|
+
Connecting to database specified by database.yml
|
34
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
36
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
38
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
39
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
40
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
41
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
42
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
43
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
44
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
45
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
46
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
47
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
48
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
49
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
50
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
51
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
52
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
53
|
+
Connecting to database specified by database.yml
|
54
|
+
Connecting to database specified by database.yml
|
55
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
56
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
57
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "msg_bounces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "envelope_id" integer, "bounce_type" varchar(255), "bounce_subtype" varchar(255), "reporter" varchar(255), "raw_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
58
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_msg_bounces_on_envelope_id" ON "msg_bounces" ("envelope_id")
|
59
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "msg_envelopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sending_id" integer, "receiver_id" integer, "email_id" integer, "receiver_type" varchar(255), "to_address" varchar(255), "from_address" varchar(255), "subject" varchar(255), "contents" text, "sent_at" datetime, "opened_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
60
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_envelopes_on_email_id" ON "msg_envelopes" ("email_id")
|
61
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_receiver_id_and_receiver_type" ON "msg_envelopes" ("receiver_id", "receiver_type")[0m
|
62
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_envelopes_on_receiver_id" ON "msg_envelopes" ("receiver_id")
|
63
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_msg_envelopes_on_sending_id" ON "msg_envelopes" ("sending_id")[0m
|
64
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "msg_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255), "from_address" varchar(255), "from_name" varchar(255), "body" text, "function" varchar(255), "description" text, "transactional" boolean DEFAULT 'f', "saved" boolean DEFAULT 'f', "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
65
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "msg_sendings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message_id" integer, "created_by_id" integer, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
66
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_msg_sendings_on_created_by_id" ON "msg_sendings" ("created_by_id")
|
67
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_msg_sendings_on_message_id" ON "msg_sendings" ("message_id")[0m
|
68
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255))
|
69
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
70
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
71
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
72
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130325160526')
|
73
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2013032210540')[0m
|
74
|
+
Connecting to database specified by database.yml
|
75
|
+
Connecting to database specified by database.yml
|
76
|
+
Connecting to database specified by database.yml
|
77
|
+
Connecting to database specified by database.yml
|
78
|
+
Connecting to database specified by database.yml
|
79
|
+
Connecting to database specified by database.yml
|
80
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "msg_bounces";[0m
|
81
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'msg_bounces';
|
82
|
+
[1m[36m (1.1ms)[0m [1mDELETE FROM "msg_envelopes";[0m
|
83
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_envelopes';
|
84
|
+
[1m[36m (0.5ms)[0m [1mDELETE FROM "msg_messages";[0m
|
85
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_messages';
|
86
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM "msg_sendings";[0m
|
87
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_sendings';
|
88
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "users";[0m
|
89
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
90
|
+
Connecting to database specified by database.yml
|
91
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
92
|
+
Connecting to database specified by database.yml
|
93
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
94
|
+
Connecting to database specified by database.yml
|
95
|
+
[1m[36m (2.1ms)[0m [1mDELETE FROM "msg_bounces";[0m
|
96
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_bounces';
|
97
|
+
[1m[36m (3.9ms)[0m [1mDELETE FROM "msg_envelopes";[0m
|
98
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_envelopes';
|
99
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "msg_messages";[0m
|
100
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_messages';
|
101
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "msg_sendings";[0m
|
102
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_sendings';
|
103
|
+
[1m[36m (1.8ms)[0m [1mDELETE FROM "users";[0m
|
104
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
105
|
+
Connecting to database specified by database.yml
|
106
|
+
>>> Msg.add_receiving_class User
|
107
|
+
[1m[36m (1.0ms)[0m [1mDELETE FROM "msg_bounces";[0m
|
108
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_bounces';
|
109
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "msg_envelopes";[0m
|
110
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_envelopes';
|
111
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM "msg_messages";[0m
|
112
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_messages';
|
113
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "msg_sendings";[0m
|
114
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'msg_sendings';
|
115
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "users";[0m
|
116
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
124
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
132
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
140
|
+
[1m[35mSQL (4.7ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
143
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
146
|
+
[1m[35mSQL (0.3ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
147
|
+
|
148
|
+
Sent mail to bob@example.com (39ms)
|
149
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
150
|
+
From: bill <bill@example.com>
|
151
|
+
To: bob <bob@example.com>
|
152
|
+
Message-ID: 1
|
153
|
+
Subject: title
|
154
|
+
Mime-Version: 1.0
|
155
|
+
Content-Type: text/html;
|
156
|
+
charset=UTF-8
|
157
|
+
Content-Transfer-Encoding: 7bit
|
158
|
+
|
159
|
+
<!DOCTYPE html>
|
160
|
+
<html lang='en'>
|
161
|
+
<head>
|
162
|
+
<title>
|
163
|
+
|
164
|
+
</title>
|
165
|
+
</head>
|
166
|
+
<body>
|
167
|
+
<div id='content'>
|
168
|
+
lorem ipsum
|
169
|
+
<img src='http://localhost/msg/envelopes/1'>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
</body>
|
173
|
+
</html>
|
174
|
+
|
175
|
+
setting envelope.sent_at to
|
176
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.445153', "updated_at" = '2013-03-28 17:57:11.445153', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.558506' WHERE "msg_envelopes"."id" = 1[0m
|
177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
179
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "msg_bounces" ("bounce_subtype", "bounce_type", "created_at", "envelope_id", "raw_message", "reporter", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["bounce_subtype", nil], ["bounce_type", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["envelope_id", 1], ["raw_message", nil], ["reporter", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
180
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
184
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
186
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
187
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
188
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
191
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
193
|
+
[1m[35mSQL (0.2ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
194
|
+
|
195
|
+
Sent mail to bob@example.com (5ms)
|
196
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
197
|
+
From: bill <bill@example.com>
|
198
|
+
To: bob <bob@example.com>
|
199
|
+
Message-ID: 1
|
200
|
+
Subject: title
|
201
|
+
Mime-Version: 1.0
|
202
|
+
Content-Type: text/html;
|
203
|
+
charset=UTF-8
|
204
|
+
Content-Transfer-Encoding: 7bit
|
205
|
+
|
206
|
+
<!DOCTYPE html>
|
207
|
+
<html lang='en'>
|
208
|
+
<head>
|
209
|
+
<title>
|
210
|
+
|
211
|
+
</title>
|
212
|
+
</head>
|
213
|
+
<body>
|
214
|
+
<div id='content'>
|
215
|
+
lorem ipsum
|
216
|
+
<img src='http://localhost/msg/envelopes/1'>
|
217
|
+
|
218
|
+
</div>
|
219
|
+
</body>
|
220
|
+
</html>
|
221
|
+
|
222
|
+
setting envelope.sent_at to
|
223
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.578567', "updated_at" = '2013-03-28 17:57:11.578567', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.597848' WHERE "msg_envelopes"."id" = 1[0m
|
224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
225
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
227
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
228
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
229
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
231
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
233
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
234
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
237
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
238
|
+
|
239
|
+
Sent mail to bob@example.com (5ms)
|
240
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
241
|
+
From: bill <bill@example.com>
|
242
|
+
To: bob <bob@example.com>
|
243
|
+
Message-ID: 1
|
244
|
+
Subject: title
|
245
|
+
Mime-Version: 1.0
|
246
|
+
Content-Type: text/html;
|
247
|
+
charset=UTF-8
|
248
|
+
Content-Transfer-Encoding: 7bit
|
249
|
+
|
250
|
+
<!DOCTYPE html>
|
251
|
+
<html lang='en'>
|
252
|
+
<head>
|
253
|
+
<title>
|
254
|
+
|
255
|
+
</title>
|
256
|
+
</head>
|
257
|
+
<body>
|
258
|
+
<div id='content'>
|
259
|
+
lorem ipsum
|
260
|
+
<img src='http://localhost/msg/envelopes/1'>
|
261
|
+
|
262
|
+
</div>
|
263
|
+
</body>
|
264
|
+
</html>
|
265
|
+
|
266
|
+
setting envelope.sent_at to
|
267
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.608313', "updated_at" = '2013-03-28 17:57:11.608313', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.628166' WHERE "msg_envelopes"."id" = 1
|
268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
269
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
272
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
275
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
281
|
+
[1m[35mSQL (0.2ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
282
|
+
|
283
|
+
Sent mail to bob@example.com (5ms)
|
284
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
285
|
+
From: bill <bill@example.com>
|
286
|
+
To: bob <bob@example.com>
|
287
|
+
Message-ID: 1
|
288
|
+
Subject: title
|
289
|
+
Mime-Version: 1.0
|
290
|
+
Content-Type: text/html;
|
291
|
+
charset=UTF-8
|
292
|
+
Content-Transfer-Encoding: 7bit
|
293
|
+
|
294
|
+
<!DOCTYPE html>
|
295
|
+
<html lang='en'>
|
296
|
+
<head>
|
297
|
+
<title>
|
298
|
+
|
299
|
+
</title>
|
300
|
+
</head>
|
301
|
+
<body>
|
302
|
+
<div id='content'>
|
303
|
+
lorem ipsum
|
304
|
+
<img src='http://localhost/msg/envelopes/1'>
|
305
|
+
|
306
|
+
</div>
|
307
|
+
</body>
|
308
|
+
</html>
|
309
|
+
|
310
|
+
setting envelope.sent_at to
|
311
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.636413', "updated_at" = '2013-03-28 17:57:11.636413', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.656019' WHERE "msg_envelopes"."id" = 1[0m
|
312
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
313
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
315
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
316
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
318
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
319
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
320
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
321
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
322
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
323
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
325
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
326
|
+
|
327
|
+
Sent mail to bob@example.com (5ms)
|
328
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
329
|
+
From: bill <bill@example.com>
|
330
|
+
To: bob <bob@example.com>
|
331
|
+
Message-ID: 1
|
332
|
+
Subject: title
|
333
|
+
Mime-Version: 1.0
|
334
|
+
Content-Type: text/html;
|
335
|
+
charset=UTF-8
|
336
|
+
Content-Transfer-Encoding: 7bit
|
337
|
+
|
338
|
+
<!DOCTYPE html>
|
339
|
+
<html lang='en'>
|
340
|
+
<head>
|
341
|
+
<title>
|
342
|
+
|
343
|
+
</title>
|
344
|
+
</head>
|
345
|
+
<body>
|
346
|
+
<div id='content'>
|
347
|
+
lorem ipsum
|
348
|
+
<img src='http://localhost/msg/envelopes/1'>
|
349
|
+
|
350
|
+
</div>
|
351
|
+
</body>
|
352
|
+
</html>
|
353
|
+
|
354
|
+
setting envelope.sent_at to
|
355
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.664437', "updated_at" = '2013-03-28 17:57:11.664437', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.684397' WHERE "msg_envelopes"."id" = 1
|
356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
357
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "msg_envelopes" SET "opened_at" = '2013-03-28 17:57:11.686195' WHERE "msg_envelopes"."id" = 1
|
358
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
361
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
364
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
367
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
370
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
371
|
+
|
372
|
+
Sent mail to bob@example.com (6ms)
|
373
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
374
|
+
From: bill <bill@example.com>
|
375
|
+
To: bob <bob@example.com>
|
376
|
+
Message-ID: 1
|
377
|
+
Subject: title
|
378
|
+
Mime-Version: 1.0
|
379
|
+
Content-Type: text/html;
|
380
|
+
charset=UTF-8
|
381
|
+
Content-Transfer-Encoding: 7bit
|
382
|
+
|
383
|
+
<!DOCTYPE html>
|
384
|
+
<html lang='en'>
|
385
|
+
<head>
|
386
|
+
<title>
|
387
|
+
|
388
|
+
</title>
|
389
|
+
</head>
|
390
|
+
<body>
|
391
|
+
<div id='content'>
|
392
|
+
lorem ipsum
|
393
|
+
<img src='http://localhost/msg/envelopes/1'>
|
394
|
+
|
395
|
+
</div>
|
396
|
+
</body>
|
397
|
+
</html>
|
398
|
+
|
399
|
+
setting envelope.sent_at to
|
400
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.692945', "updated_at" = '2013-03-28 17:57:11.692945', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.738289' WHERE "msg_envelopes"."id" = 1
|
401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
402
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
405
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
408
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
411
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
412
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
414
|
+
[1m[35mSQL (0.2ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
415
|
+
|
416
|
+
Sent mail to bob@example.com (5ms)
|
417
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
418
|
+
From: bill <bill@example.com>
|
419
|
+
To: bob <bob@example.com>
|
420
|
+
Message-ID: 1
|
421
|
+
Subject: title
|
422
|
+
Mime-Version: 1.0
|
423
|
+
Content-Type: text/html;
|
424
|
+
charset=UTF-8
|
425
|
+
Content-Transfer-Encoding: 7bit
|
426
|
+
|
427
|
+
<!DOCTYPE html>
|
428
|
+
<html lang='en'>
|
429
|
+
<head>
|
430
|
+
<title>
|
431
|
+
|
432
|
+
</title>
|
433
|
+
</head>
|
434
|
+
<body>
|
435
|
+
<div id='content'>
|
436
|
+
lorem ipsum
|
437
|
+
<img src='http://localhost/msg/envelopes/1'>
|
438
|
+
|
439
|
+
</div>
|
440
|
+
</body>
|
441
|
+
</html>
|
442
|
+
|
443
|
+
setting envelope.sent_at to
|
444
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.748066', "updated_at" = '2013-03-28 17:57:11.748066', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.768093' WHERE "msg_envelopes"."id" = 1[0m
|
445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
446
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
447
|
+
[1m[35m (0.0ms)[0m begin transaction
|
448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
449
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
452
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
455
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
456
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
458
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
459
|
+
|
460
|
+
Sent mail to bob@example.com (6ms)
|
461
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
462
|
+
From: bill <bill@example.com>
|
463
|
+
To: bob <bob@example.com>
|
464
|
+
Message-ID: 1
|
465
|
+
Subject: title
|
466
|
+
Mime-Version: 1.0
|
467
|
+
Content-Type: text/html;
|
468
|
+
charset=UTF-8
|
469
|
+
Content-Transfer-Encoding: 7bit
|
470
|
+
|
471
|
+
<!DOCTYPE html>
|
472
|
+
<html lang='en'>
|
473
|
+
<head>
|
474
|
+
<title>
|
475
|
+
|
476
|
+
</title>
|
477
|
+
</head>
|
478
|
+
<body>
|
479
|
+
<div id='content'>
|
480
|
+
lorem ipsum
|
481
|
+
<img src='http://localhost/msg/envelopes/1'>
|
482
|
+
|
483
|
+
</div>
|
484
|
+
</body>
|
485
|
+
</html>
|
486
|
+
|
487
|
+
setting envelope.sent_at to
|
488
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.778887', "updated_at" = '2013-03-28 17:57:11.778887', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.800289' WHERE "msg_envelopes"."id" = 1
|
489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
490
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
493
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
496
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
499
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
502
|
+
[1m[35mSQL (0.3ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
503
|
+
|
504
|
+
Sent mail to bob@example.com (6ms)
|
505
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
506
|
+
From: bill <bill@example.com>
|
507
|
+
To: bob <bob@example.com>
|
508
|
+
Message-ID: 1
|
509
|
+
Subject: title
|
510
|
+
Mime-Version: 1.0
|
511
|
+
Content-Type: text/html;
|
512
|
+
charset=UTF-8
|
513
|
+
Content-Transfer-Encoding: 7bit
|
514
|
+
|
515
|
+
<!DOCTYPE html>
|
516
|
+
<html lang='en'>
|
517
|
+
<head>
|
518
|
+
<title>
|
519
|
+
|
520
|
+
</title>
|
521
|
+
</head>
|
522
|
+
<body>
|
523
|
+
<div id='content'>
|
524
|
+
lorem ipsum
|
525
|
+
<img src='http://localhost/msg/envelopes/1'>
|
526
|
+
|
527
|
+
</div>
|
528
|
+
</body>
|
529
|
+
</html>
|
530
|
+
|
531
|
+
setting envelope.sent_at to
|
532
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.809739', "updated_at" = '2013-03-28 17:57:11.809739', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.830625' WHERE "msg_envelopes"."id" = 1[0m
|
533
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
534
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
537
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
539
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
540
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
546
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
547
|
+
|
548
|
+
Sent mail to bob@example.com (31ms)
|
549
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
550
|
+
From: bill <bill@example.com>
|
551
|
+
To: bob <bob@example.com>
|
552
|
+
Message-ID: 1
|
553
|
+
Subject: title
|
554
|
+
Mime-Version: 1.0
|
555
|
+
Content-Type: text/html;
|
556
|
+
charset=UTF-8
|
557
|
+
Content-Transfer-Encoding: 7bit
|
558
|
+
|
559
|
+
<!DOCTYPE html>
|
560
|
+
<html lang='en'>
|
561
|
+
<head>
|
562
|
+
<title>
|
563
|
+
|
564
|
+
</title>
|
565
|
+
</head>
|
566
|
+
<body>
|
567
|
+
<div id='content'>
|
568
|
+
lorem ipsum
|
569
|
+
<img src='http://localhost/msg/envelopes/1'>
|
570
|
+
|
571
|
+
</div>
|
572
|
+
</body>
|
573
|
+
</html>
|
574
|
+
|
575
|
+
setting envelope.sent_at to
|
576
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.841660', "updated_at" = '2013-03-28 17:57:11.841660', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.888907' WHERE "msg_envelopes"."id" = 1
|
577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
578
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
579
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
581
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
582
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
583
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
584
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
585
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
586
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
587
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
589
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
590
|
+
[1m[35mSQL (0.2ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
591
|
+
|
592
|
+
Sent mail to bob@example.com (6ms)
|
593
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
594
|
+
From: bill <bill@example.com>
|
595
|
+
To: bob <bob@example.com>
|
596
|
+
Message-ID: 1
|
597
|
+
Subject: title
|
598
|
+
Mime-Version: 1.0
|
599
|
+
Content-Type: text/html;
|
600
|
+
charset=UTF-8
|
601
|
+
Content-Transfer-Encoding: 7bit
|
602
|
+
|
603
|
+
<!DOCTYPE html>
|
604
|
+
<html lang='en'>
|
605
|
+
<head>
|
606
|
+
<title>
|
607
|
+
|
608
|
+
</title>
|
609
|
+
</head>
|
610
|
+
<body>
|
611
|
+
<div id='content'>
|
612
|
+
lorem ipsum
|
613
|
+
<img src='http://localhost/msg/envelopes/1'>
|
614
|
+
|
615
|
+
</div>
|
616
|
+
</body>
|
617
|
+
</html>
|
618
|
+
|
619
|
+
setting envelope.sent_at to
|
620
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.899070', "updated_at" = '2013-03-28 17:57:11.899070', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.921352' WHERE "msg_envelopes"."id" = 1[0m
|
621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
622
|
+
|
623
|
+
Sent mail to bob@example.com (6ms)
|
624
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
625
|
+
From: bill <bill@example.com>
|
626
|
+
To: bob <bob@example.com>
|
627
|
+
Message-ID: 1
|
628
|
+
Subject: title
|
629
|
+
Mime-Version: 1.0
|
630
|
+
Content-Type: text/html;
|
631
|
+
charset=UTF-8
|
632
|
+
Content-Transfer-Encoding: 7bit
|
633
|
+
|
634
|
+
<!DOCTYPE html>
|
635
|
+
<html lang='en'>
|
636
|
+
<head>
|
637
|
+
<title>
|
638
|
+
|
639
|
+
</title>
|
640
|
+
</head>
|
641
|
+
<body>
|
642
|
+
<div id='content'>
|
643
|
+
lorem ipsum
|
644
|
+
<img src='http://localhost/msg/envelopes/1'>
|
645
|
+
|
646
|
+
</div>
|
647
|
+
</body>
|
648
|
+
</html>
|
649
|
+
|
650
|
+
setting envelope.sent_at to
|
651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
652
|
+
[1m[35m (0.1ms)[0m UPDATE "msg_envelopes" SET "sent_at" = '2013-03-28 17:57:11.944709', "updated_at" = '2013-03-28 17:57:11.945577' WHERE "msg_envelopes"."id" = 1
|
653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
654
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
655
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
656
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
658
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
659
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
661
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
664
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
666
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
667
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
669
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
670
|
+
[1m[35mSQL (0.2ms)[0m 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", Thu, 28 Mar 2013 17:57:11 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", Thu, 28 Mar 2013 17:57:11 UTC +00:00]]
|
671
|
+
|
672
|
+
Sent mail to bob@example.com (5ms)
|
673
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
674
|
+
From: bill <bill@example.com>
|
675
|
+
To: bob <bob@example.com>
|
676
|
+
Message-ID: 1
|
677
|
+
Subject: title
|
678
|
+
Mime-Version: 1.0
|
679
|
+
Content-Type: text/html;
|
680
|
+
charset=UTF-8
|
681
|
+
Content-Transfer-Encoding: 7bit
|
682
|
+
|
683
|
+
<!DOCTYPE html>
|
684
|
+
<html lang='en'>
|
685
|
+
<head>
|
686
|
+
<title>
|
687
|
+
|
688
|
+
</title>
|
689
|
+
</head>
|
690
|
+
<body>
|
691
|
+
<div id='content'>
|
692
|
+
lorem ipsum
|
693
|
+
<img src='http://localhost/msg/envelopes/1'>
|
694
|
+
|
695
|
+
</div>
|
696
|
+
</body>
|
697
|
+
</html>
|
698
|
+
|
699
|
+
setting envelope.sent_at to
|
700
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:11.960119', "updated_at" = '2013-03-28 17:57:11.960119', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:11.979921' WHERE "msg_envelopes"."id" = 1[0m
|
701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
702
|
+
|
703
|
+
Sent mail to bob@example.com (5ms)
|
704
|
+
Date: Thu, 28 Mar 2013 17:57:11 +0000
|
705
|
+
From: bill <bill@example.com>
|
706
|
+
To: bob <bob@example.com>
|
707
|
+
Message-ID: 1
|
708
|
+
Subject: title
|
709
|
+
Mime-Version: 1.0
|
710
|
+
Content-Type: text/html;
|
711
|
+
charset=UTF-8
|
712
|
+
Content-Transfer-Encoding: 7bit
|
713
|
+
|
714
|
+
<!DOCTYPE html>
|
715
|
+
<html lang='en'>
|
716
|
+
<head>
|
717
|
+
<title>
|
718
|
+
|
719
|
+
</title>
|
720
|
+
</head>
|
721
|
+
<body>
|
722
|
+
<div id='content'>
|
723
|
+
lorem ipsum
|
724
|
+
<img src='http://localhost/msg/envelopes/1'>
|
725
|
+
|
726
|
+
</div>
|
727
|
+
</body>
|
728
|
+
</html>
|
729
|
+
|
730
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
733
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
736
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
739
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
742
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
743
|
+
|
744
|
+
Sent mail to bob@example.com (6ms)
|
745
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
746
|
+
From: bill <bill@example.com>
|
747
|
+
To: bob <bob@example.com>
|
748
|
+
Message-ID: 1
|
749
|
+
Subject: title
|
750
|
+
Mime-Version: 1.0
|
751
|
+
Content-Type: text/html;
|
752
|
+
charset=UTF-8
|
753
|
+
Content-Transfer-Encoding: 7bit
|
754
|
+
|
755
|
+
<!DOCTYPE html>
|
756
|
+
<html lang='en'>
|
757
|
+
<head>
|
758
|
+
<title>
|
759
|
+
|
760
|
+
</title>
|
761
|
+
</head>
|
762
|
+
<body>
|
763
|
+
<div id='content'>
|
764
|
+
lorem ipsum
|
765
|
+
<img src='http://localhost/msg/envelopes/1'>
|
766
|
+
|
767
|
+
</div>
|
768
|
+
</body>
|
769
|
+
</html>
|
770
|
+
|
771
|
+
setting envelope.sent_at to
|
772
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:12.013345', "updated_at" = '2013-03-28 17:57:12.013345', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:12.059812' WHERE "msg_envelopes"."id" = 1
|
773
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
774
|
+
|
775
|
+
Sent mail to bob@example.com (5ms)
|
776
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
777
|
+
From: bill <bill@example.com>
|
778
|
+
To: bob <bob@example.com>
|
779
|
+
Message-ID: 1
|
780
|
+
Subject: title
|
781
|
+
Mime-Version: 1.0
|
782
|
+
Content-Type: text/html;
|
783
|
+
charset=UTF-8
|
784
|
+
Content-Transfer-Encoding: 7bit
|
785
|
+
|
786
|
+
<!DOCTYPE html>
|
787
|
+
<html lang='en'>
|
788
|
+
<head>
|
789
|
+
<title>
|
790
|
+
|
791
|
+
</title>
|
792
|
+
</head>
|
793
|
+
<body>
|
794
|
+
<div id='content'>
|
795
|
+
lorem ipsum
|
796
|
+
<img src='http://localhost/msg/envelopes/1'>
|
797
|
+
|
798
|
+
</div>
|
799
|
+
</body>
|
800
|
+
</html>
|
801
|
+
|
802
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
805
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
806
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
808
|
+
[1m[35mSQL (0.4ms)[0m 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", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
811
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
813
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
814
|
+
[1m[35mSQL (0.3ms)[0m 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", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
815
|
+
|
816
|
+
Sent mail to bob@example.com (6ms)
|
817
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
818
|
+
From: bill <bill@example.com>
|
819
|
+
To: bob <bob@example.com>
|
820
|
+
Message-ID: 1
|
821
|
+
Subject: title
|
822
|
+
Mime-Version: 1.0
|
823
|
+
Content-Type: text/html;
|
824
|
+
charset=UTF-8
|
825
|
+
Content-Transfer-Encoding: 7bit
|
826
|
+
|
827
|
+
<!DOCTYPE html>
|
828
|
+
<html lang='en'>
|
829
|
+
<head>
|
830
|
+
<title>
|
831
|
+
|
832
|
+
</title>
|
833
|
+
</head>
|
834
|
+
<body>
|
835
|
+
<div id='content'>
|
836
|
+
lorem ipsum
|
837
|
+
<img src='http://localhost/msg/envelopes/1'>
|
838
|
+
|
839
|
+
</div>
|
840
|
+
</body>
|
841
|
+
</html>
|
842
|
+
|
843
|
+
setting envelope.sent_at to
|
844
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:12.091964', "updated_at" = '2013-03-28 17:57:12.091964', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:12.113010' WHERE "msg_envelopes"."id" = 1[0m
|
845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
846
|
+
|
847
|
+
Sent mail to bob@example.com (5ms)
|
848
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
849
|
+
From: bill <bill@example.com>
|
850
|
+
To: bob <bob@example.com>
|
851
|
+
Message-ID: 1
|
852
|
+
Subject: title
|
853
|
+
Mime-Version: 1.0
|
854
|
+
Content-Type: text/html;
|
855
|
+
charset=UTF-8
|
856
|
+
Content-Transfer-Encoding: 7bit
|
857
|
+
|
858
|
+
<!DOCTYPE html>
|
859
|
+
<html lang='en'>
|
860
|
+
<head>
|
861
|
+
<title>
|
862
|
+
|
863
|
+
</title>
|
864
|
+
</head>
|
865
|
+
<body>
|
866
|
+
<div id='content'>
|
867
|
+
lorem ipsum
|
868
|
+
<img src='http://localhost/msg/envelopes/1'>
|
869
|
+
|
870
|
+
</div>
|
871
|
+
</body>
|
872
|
+
</html>
|
873
|
+
|
874
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
875
|
+
[1m[35m (0.1ms)[0m begin transaction
|
876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
877
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name") VALUES (?, ?) [["email", "bob@example.com"], ["name", "bob"]]
|
878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
880
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "msg_messages" ("body", "created_at", "created_by_id", "description", "from_address", "from_name", "function", "saved", "subject", "transactional", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "lorem ipsum"], ["created_at", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
882
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
883
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
884
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
885
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
886
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["contents", nil], ["created_at", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
887
|
+
|
888
|
+
Sent mail to bob@example.com (6ms)
|
889
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
890
|
+
From: bill <bill@example.com>
|
891
|
+
To: bob <bob@example.com>
|
892
|
+
Message-ID: 1
|
893
|
+
Subject: title
|
894
|
+
Mime-Version: 1.0
|
895
|
+
Content-Type: text/html;
|
896
|
+
charset=UTF-8
|
897
|
+
Content-Transfer-Encoding: 7bit
|
898
|
+
|
899
|
+
<!DOCTYPE html>
|
900
|
+
<html lang='en'>
|
901
|
+
<head>
|
902
|
+
<title>
|
903
|
+
|
904
|
+
</title>
|
905
|
+
</head>
|
906
|
+
<body>
|
907
|
+
<div id='content'>
|
908
|
+
lorem ipsum
|
909
|
+
<img src='http://localhost/msg/envelopes/1'>
|
910
|
+
|
911
|
+
</div>
|
912
|
+
</body>
|
913
|
+
</html>
|
914
|
+
|
915
|
+
setting envelope.sent_at to
|
916
|
+
[1m[35m (0.2ms)[0m UPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:12.144070', "updated_at" = '2013-03-28 17:57:12.144070', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:12.164973' WHERE "msg_envelopes"."id" = 1
|
917
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
918
|
+
|
919
|
+
Sent mail to bob@example.com (6ms)
|
920
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
921
|
+
From: bill <bill@example.com>
|
922
|
+
To: bob <bob@example.com>
|
923
|
+
Message-ID: 1
|
924
|
+
Subject: title
|
925
|
+
Mime-Version: 1.0
|
926
|
+
Content-Type: text/html;
|
927
|
+
charset=UTF-8
|
928
|
+
Content-Transfer-Encoding: 7bit
|
929
|
+
|
930
|
+
<!DOCTYPE html>
|
931
|
+
<html lang='en'>
|
932
|
+
<head>
|
933
|
+
<title>
|
934
|
+
|
935
|
+
</title>
|
936
|
+
</head>
|
937
|
+
<body>
|
938
|
+
<div id='content'>
|
939
|
+
lorem ipsum
|
940
|
+
<img src='http://localhost/msg/envelopes/1'>
|
941
|
+
|
942
|
+
</div>
|
943
|
+
</body>
|
944
|
+
</html>
|
945
|
+
|
946
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
948
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name") VALUES (?, ?)[0m [["email", "bob@example.com"], ["name", "bob"]]
|
950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
951
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
952
|
+
[1m[35mSQL (0.5ms)[0m 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", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
953
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
954
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
955
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "msg_sendings" ("created_at", "created_by_id", "message_id", "sent_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00], ["created_by_id", nil], ["message_id", 1], ["sent_at", nil], ["updated_at", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
956
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
957
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
958
|
+
[1m[35mSQL (0.3ms)[0m 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", Thu, 28 Mar 2013 17:57:12 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", Thu, 28 Mar 2013 17:57:12 UTC +00:00]]
|
959
|
+
|
960
|
+
Sent mail to bob@example.com (5ms)
|
961
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
962
|
+
From: bill <bill@example.com>
|
963
|
+
To: bob <bob@example.com>
|
964
|
+
Message-ID: 1
|
965
|
+
Subject: title
|
966
|
+
Mime-Version: 1.0
|
967
|
+
Content-Type: text/html;
|
968
|
+
charset=UTF-8
|
969
|
+
Content-Transfer-Encoding: 7bit
|
970
|
+
|
971
|
+
<!DOCTYPE html>
|
972
|
+
<html lang='en'>
|
973
|
+
<head>
|
974
|
+
<title>
|
975
|
+
|
976
|
+
</title>
|
977
|
+
</head>
|
978
|
+
<body>
|
979
|
+
<div id='content'>
|
980
|
+
lorem ipsum
|
981
|
+
<img src='http://localhost/msg/envelopes/1'>
|
982
|
+
|
983
|
+
</div>
|
984
|
+
</body>
|
985
|
+
</html>
|
986
|
+
|
987
|
+
setting envelope.sent_at to
|
988
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "msg_envelopes" SET "receiver_id" = 1, "receiver_type" = 'User', "sending_id" = 1, "created_at" = '2013-03-28 17:57:12.224210', "updated_at" = '2013-03-28 17:57:12.224210', "email_id" = 1, "subject" = 'title', "from_address" = 'bill <bill@example.com>', "to_address" = 'bob@example.com', "contents" = 'lorem ipsum', "sent_at" = '2013-03-28 17:57:12.245058' WHERE "msg_envelopes"."id" = 1[0m
|
989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
990
|
+
|
991
|
+
Sent mail to bob@example.com (5ms)
|
992
|
+
Date: Thu, 28 Mar 2013 17:57:12 +0000
|
993
|
+
From: bill <bill@example.com>
|
994
|
+
To: bob <bob@example.com>
|
995
|
+
Message-ID: 1
|
996
|
+
Subject: title
|
997
|
+
Mime-Version: 1.0
|
998
|
+
Content-Type: text/html;
|
999
|
+
charset=UTF-8
|
1000
|
+
Content-Transfer-Encoding: 7bit
|
1001
|
+
|
1002
|
+
<!DOCTYPE html>
|
1003
|
+
<html lang='en'>
|
1004
|
+
<head>
|
1005
|
+
<title>
|
1006
|
+
|
1007
|
+
</title>
|
1008
|
+
</head>
|
1009
|
+
<body>
|
1010
|
+
<div id='content'>
|
1011
|
+
lorem ipsum
|
1012
|
+
<img src='http://localhost/msg/envelopes/1'>
|
1013
|
+
|
1014
|
+
</div>
|
1015
|
+
</body>
|
1016
|
+
</html>
|
1017
|
+
|
1018
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1019
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1020
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1022
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|