user_notifier 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +0 -2
- data/app/mailers/user_notifier/base_mailer.rb +26 -0
- data/app/models/user_notifier/base.rb +32 -0
- data/app/workers/user_notifier/email_worker.rb +23 -0
- data/lib/generators/user_notifier/install/USAGE +2 -0
- data/lib/generators/user_notifier/install/install_generator.rb +11 -0
- data/lib/generators/user_notifier/install/templates/user_notifier.rb +22 -0
- data/lib/user_notifier.rb +7 -0
- data/lib/user_notifier/configuration.rb +38 -0
- data/lib/user_notifier/models/has_notifications.rb +43 -0
- data/lib/user_notifier/version.rb +1 -1
- data/spec/dummy/app/models/user.rb +3 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20140625163719_create_users.rb +10 -0
- data/spec/dummy/db/migrate/20140625183616_create_user_notifications.rb +12 -0
- data/spec/dummy/db/schema.rb +32 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +33 -0
- data/spec/dummy/log/test.log +737 -0
- data/spec/lib/user_notifier/configuration_spec.rb +26 -0
- data/spec/models/user_notifier/base_spec.rb +55 -0
- data/spec/spec_helper.rb +37 -0
- metadata +126 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15379a4699aae37560c32fb9dce2e882817893b7
|
4
|
+
data.tar.gz: fa27fd436b429727aeb069eda60ae2b0759cc489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a03d4da19d187480440b1987f394d7ca2ea7151cca55775f671447c1b8bc65ace63d3935c9c8859a9d3d82caa8a2b6054122a467e094f095c08d2de90062e5ce
|
7
|
+
data.tar.gz: 578fe31fb523895df0fde321e757844338b8d4baa4d28a445c4057b66aa8d1b866c68681acac8050ae4fb1d9ec9b95937f4b2369645da330dc880df19eb1e0da
|
data/MIT-LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
class UserNotifier::BaseMailer < ActionMailer::Base
|
2
|
+
layout UserNotifier.email_layout
|
3
|
+
|
4
|
+
def notify(notification)
|
5
|
+
@notification = notification
|
6
|
+
old_locale = I18n.locale
|
7
|
+
I18n.locale = @notification.locale
|
8
|
+
subject = render_to_string(template: "notifications_mailer/subjects/#{@notification.template_name}")
|
9
|
+
m = mail({
|
10
|
+
from: address_format(UserNotifier.system_email, @notification.from_name),
|
11
|
+
reply_to: address_format(@notification.from_email, @notification.from_name),
|
12
|
+
to: @notification.user.email,
|
13
|
+
subject: subject,
|
14
|
+
template_name: @notification.template_name
|
15
|
+
})
|
16
|
+
I18n.locale = old_locale
|
17
|
+
m
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
def address_format email, name
|
22
|
+
address = Mail::Address.new email
|
23
|
+
address.display_name = name
|
24
|
+
address.format
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class UserNotifier::Base < ActiveRecord::Base
|
2
|
+
self.abstract_class = true
|
3
|
+
belongs_to UserNotifier.user_class_name
|
4
|
+
|
5
|
+
def self.notify_once(template_name, user, filter, params = {})
|
6
|
+
notify(template_name, user, params) if is_unique?(template_name, filter)
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.notify(template_name, user, params = {})
|
10
|
+
create!({
|
11
|
+
template_name: template_name,
|
12
|
+
locale: I18n.locale,
|
13
|
+
from_email: UserNotifier.from_email,
|
14
|
+
from_name: UserNotifier.from_name
|
15
|
+
}.merge(params)).tap{|n| n.deliver }
|
16
|
+
end
|
17
|
+
|
18
|
+
def deliver
|
19
|
+
deliver! unless self.sent_at.present?
|
20
|
+
end
|
21
|
+
|
22
|
+
def deliver!
|
23
|
+
UserNotifier::EmailWorker.perform_async(self.class.name.to_s, self.id)
|
24
|
+
self.update_attributes sent_at: Time.now()
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
def self.is_unique?(template_name, filter)
|
29
|
+
filter.nil? || self.where(filter.merge(template_name: template_name)).empty?
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
class UserNotifier::EmailWorker
|
2
|
+
include Sidekiq::Worker
|
3
|
+
sidekiq_options retry: 5
|
4
|
+
|
5
|
+
def perform model_name, notification_id
|
6
|
+
resource = notification_model(model_name).find_by id: notification_id
|
7
|
+
# We don't want to raise exceptions in case our notification does not exist in the database
|
8
|
+
if resource
|
9
|
+
mailer.notify(resource).deliver
|
10
|
+
else
|
11
|
+
raise "Notification #{notification_id} not found.. sending to retry queue"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
def notification_model(model_name)
|
17
|
+
@klass ||= Object.const_get(model_name)
|
18
|
+
end
|
19
|
+
|
20
|
+
def mailer
|
21
|
+
UserNotifier::BaseMailer
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module UserNotifier
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < ::Rails::Generators::Base
|
4
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
5
|
+
|
6
|
+
def copy_initializer
|
7
|
+
template 'user_notifier.rb', 'config/initializers/user_notifier.rb'
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
UserNotifier.configure do |config|
|
2
|
+
# The system email will be used in all 'from' fields in your emails
|
3
|
+
# This avoids issues with the sender autenticity,
|
4
|
+
# we always use the reply_to to set a return address
|
5
|
+
config.system_email = 'yoursystem@yourdomain.com'
|
6
|
+
|
7
|
+
# The name of the email template in your views/layouts
|
8
|
+
config.email_layout = 'email'
|
9
|
+
|
10
|
+
# The class name of your model representing system users that will receive the notifications
|
11
|
+
# The model should have an email attribute containing the email address of the user
|
12
|
+
config.user_class_name = 'User'
|
13
|
+
|
14
|
+
# This is the default email for reply_to
|
15
|
+
# in case the notification does not have a variable from_email
|
16
|
+
config.from_email = 'default-reply-to@somedomain.com'
|
17
|
+
|
18
|
+
# This is the default name used in from and reply_to
|
19
|
+
# in case the notification does not have a variable from_name
|
20
|
+
config.from_name = 'default reply name'
|
21
|
+
end
|
22
|
+
|
data/lib/user_notifier.rb
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
module UserNotifier
|
2
|
+
module Configuration
|
3
|
+
VALID_CONFIG_KEYS = [:system_email, :email_layout, :user_class_name, :from_email, :from_name].freeze
|
4
|
+
|
5
|
+
DEFAULT_SYSTEM_EMAIL = nil
|
6
|
+
DEFAULT_EMAIL_LAYOUT = 'email'
|
7
|
+
DEFAULT_USER_CLASS_NAME = :user
|
8
|
+
DEFAULT_FROM_EMAIL = 'no-reply@yourdomain'
|
9
|
+
DEFAULT_FROM_NAME = 'please configure a default from name'
|
10
|
+
|
11
|
+
# Build accessor methods for every config options so we can do this, for example:
|
12
|
+
# Awesome.format = <img src="http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif?m=1129645325g" alt=":x" class="wp-smiley"> ml
|
13
|
+
attr_accessor *VALID_CONFIG_KEYS
|
14
|
+
|
15
|
+
# Make sure we have the default values set when we get 'extended'
|
16
|
+
def self.extended(base)
|
17
|
+
base.reset
|
18
|
+
end
|
19
|
+
|
20
|
+
def configure
|
21
|
+
yield self if block_given?
|
22
|
+
end
|
23
|
+
|
24
|
+
def options
|
25
|
+
Hash[ * VALID_CONFIG_KEYS.map { |key| [key, send(key)] }.flatten ]
|
26
|
+
end
|
27
|
+
|
28
|
+
def reset
|
29
|
+
self.system_email = DEFAULT_SYSTEM_EMAIL
|
30
|
+
self.email_layout = DEFAULT_EMAIL_LAYOUT
|
31
|
+
self.user_class_name = DEFAULT_USER_CLASS_NAME
|
32
|
+
self.from_email = DEFAULT_FROM_EMAIL
|
33
|
+
self.from_name = DEFAULT_FROM_NAME
|
34
|
+
end
|
35
|
+
|
36
|
+
end # Configuration
|
37
|
+
end
|
38
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module UserNotifier
|
2
|
+
module NotificationSource
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
def notify template_name, user=nil
|
7
|
+
user ||= self
|
8
|
+
self.notifications.notify(template_name, user)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module ClassMethods
|
13
|
+
private
|
14
|
+
def set_association
|
15
|
+
create_notification_class
|
16
|
+
self.has_many :notifications, class_name: notification_class_name
|
17
|
+
end
|
18
|
+
|
19
|
+
def notification_class_name
|
20
|
+
"#{self.model_name}Notification"
|
21
|
+
end
|
22
|
+
|
23
|
+
def create_notification_class
|
24
|
+
base_class_name = notification_class_name.demodulize
|
25
|
+
unless self.parent.const_defined?(notification_class_name)
|
26
|
+
klass = Class.new UserNotifier::Base do
|
27
|
+
self.table_name = base_class_name.tableize
|
28
|
+
end
|
29
|
+
self.parent.const_set base_class_name, klass
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module HasNotifications
|
36
|
+
def has_notifications
|
37
|
+
include UserNotifier::NotificationSource
|
38
|
+
set_association
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
ActiveRecord::Base.extend UserNotifier::HasNotifications
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class CreateUserNotifications < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :user_notifications do |t|
|
4
|
+
t.integer :user_id
|
5
|
+
t.text :from_email
|
6
|
+
t.text :from_name
|
7
|
+
t.text :template_name
|
8
|
+
t.text :locale
|
9
|
+
t.timestamp :sent_at
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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 that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20140625183616) do
|
15
|
+
|
16
|
+
create_table "user_notifications", force: true do |t|
|
17
|
+
t.integer "user_id"
|
18
|
+
t.text "from_email"
|
19
|
+
t.text "from_name"
|
20
|
+
t.text "template_name"
|
21
|
+
t.text "locale"
|
22
|
+
t.datetime "sent_at"
|
23
|
+
end
|
24
|
+
|
25
|
+
create_table "users", force: true do |t|
|
26
|
+
t.text "name"
|
27
|
+
t.text "email"
|
28
|
+
t.datetime "created_at"
|
29
|
+
t.datetime "updated_at"
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
Binary file
|
@@ -0,0 +1,33 @@
|
|
1
|
+
[1m[36m (176.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (132.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateUsers (20140625163719)
|
6
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140625163719"]]
|
9
|
+
[1m[35m (136.7ms)[0m commit transaction
|
10
|
+
Migrating to CreateUserNotifications (20140625183616)
|
11
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime)
|
13
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140625183616"]]
|
14
|
+
[1m[35m (138.5ms)[0m commit transaction
|
15
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16
|
+
[1m[36m (181.9ms)[0m [1mCREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime) [0m
|
17
|
+
[1m[35m (143.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
18
|
+
[1m[36m (136.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
19
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
20
|
+
[1m[36m (143.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
21
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
22
|
+
[1m[36m (165.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625183616')[0m
|
23
|
+
[1m[35m (156.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140625163719')
|
24
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
25
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26
|
+
[1m[36m (163.1ms)[0m [1mCREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime) [0m
|
27
|
+
[1m[35m (165.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
28
|
+
[1m[36m (165.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
30
|
+
[1m[36m (176.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
31
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
32
|
+
[1m[36m (166.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625183616')[0m
|
33
|
+
[1m[35m (178.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140625163719')
|
@@ -0,0 +1,737 @@
|
|
1
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
17
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
20
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
35
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
47
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
50
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
57
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
59
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
61
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
63
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
65
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
71
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-06-28 06:17:27.961386"], ["email", "foo@bar.com"], ["updated_at", "2014-06-28 06:17:27.961386"]]
|
72
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
73
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
74
|
+
[1m[35m (0.1ms)[0m begin transaction
|
75
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-06-28 06:17:27.971256"], ["email", "foo@bar.com"], ["updated_at", "2014-06-28 06:17:27.971256"]]
|
77
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
79
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
80
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
81
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
82
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
83
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:23:22.322794"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:23:22.322794"]]
|
86
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
89
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
90
|
+
[1m[35mUserNotification Load (0.2ms)[0m SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
|
91
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
92
|
+
[1m[35m (0.1ms)[0m begin transaction
|
93
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
94
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:23:22.421116"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:23:22.421116"]]
|
95
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
97
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
117
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
121
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:28:22.748272"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:28:22.748272"]]
|
122
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
123
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
124
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
125
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
126
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
129
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:28:22.774681"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:28:22.774681"]]
|
130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
131
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
133
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
135
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
137
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
139
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
141
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
143
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
144
|
+
[1m[35m (0.0ms)[0m begin transaction
|
145
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
147
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
149
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
151
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
152
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
156
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:30:49.125329"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:30:49.125329"]]
|
157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
160
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
161
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
164
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:30:49.152627"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:30:49.152627"]]
|
165
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
166
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
167
|
+
[1m[35m (0.1ms)[0m begin transaction
|
168
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
170
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
176
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
180
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
182
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m begin transaction
|
184
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
186
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
187
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
188
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:31:34.996452"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:31:34.996452"]]
|
190
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
192
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
193
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
194
|
+
[1m[35mUserNotification Load (0.2ms)[0m SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
|
195
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
197
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:31:35.028003"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:31:35.028003"]]
|
199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
202
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
205
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
206
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:31:35.032860"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:31:35.032860"]]
|
207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
208
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
209
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
210
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
214
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
223
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
229
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
231
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
234
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
248
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
250
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
251
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:32:18.673759"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:32:18.673759"]]
|
252
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
253
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
255
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
256
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:32:18.684842"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:32:18.684842"]]
|
257
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
258
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
259
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
260
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
261
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
262
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
264
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
265
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:32:18.708377"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:32:18.708377"]]
|
266
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
267
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
268
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
269
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
270
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
271
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
277
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
280
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
282
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
284
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
286
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
288
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
292
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
293
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:33:27.344337"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:33:27.344337"]]
|
294
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:33:27.355350"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:33:27.355350"]]
|
299
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
301
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
303
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
304
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
305
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
306
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
307
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:33:27.379481"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:33:27.379481"]]
|
308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
310
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
311
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
312
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
313
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
314
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
317
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
318
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
323
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
324
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
330
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
333
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
334
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
335
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:37:10.412094"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:10.412094"]]
|
336
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
337
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:37:10.424469"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:10.424469"]]
|
341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
342
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
343
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
344
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
345
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
346
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
348
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
349
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:37:10.455763"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:10.455763"]]
|
350
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
352
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
354
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
355
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
358
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
360
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
362
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
364
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
370
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
371
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
372
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
374
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
377
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:37:38.013070"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:38.013070"]]
|
378
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
379
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
381
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
382
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:37:38.024261"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:38.024261"]]
|
383
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
385
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
386
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
387
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" WHERE "user_notifications"."id" = ? LIMIT 1[0m [["id", 1]]
|
388
|
+
[1m[35mUserNotification Load (0.1ms)[0m SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
|
389
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
391
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
392
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:37:38.047253"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:37:38.047253"]]
|
393
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
394
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
395
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
396
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
397
|
+
[1m[36mUserNotification Load (0.1ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" WHERE "user_notifications"."id" = ? LIMIT 1[0m [["id", 1]]
|
398
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
399
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
400
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
401
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-01 18:38:01.882385"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:38:01.882385"]]
|
402
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
403
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
404
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
405
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
406
|
+
[1m[35mUserNotification Load (0.2ms)[0m SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
|
407
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
409
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
410
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:38:01.921710"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:38:01.921710"]]
|
411
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
412
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
413
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"], ["user_id", 1]]
|
414
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
415
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
418
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-01 18:38:01.931398"], ["email", "foo@bar.com"], ["updated_at", "2014-07-01 18:38:01.931398"]]
|
419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
420
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
424
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
426
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
432
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
436
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
438
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
439
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
441
|
+
[1m[36m (0.9ms)[0m [1mbegin transaction[0m
|
442
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
443
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:50:13.484822"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:13.484822"]]
|
444
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
445
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
448
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:50:13.514043"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:13.514043"]]
|
449
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
450
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
452
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
453
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:50:13.530007"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:13.530007"]]
|
454
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
455
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
456
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
458
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:50:34.934541"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:34.934541"]]
|
459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
460
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
461
|
+
[1m[35m (0.1ms)[0m begin transaction
|
462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
463
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:50:34.947598"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:34.947598"]]
|
464
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
466
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
467
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
468
|
+
[1m[36mUserNotification Load (0.4ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
469
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
472
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:50:35.009317"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:50:35.009317"]]
|
473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
475
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
476
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
477
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
478
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
479
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
480
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:53:38.072174"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:53:38.072174"]]
|
481
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
482
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
483
|
+
[1m[35m (0.2ms)[0m begin transaction
|
484
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
485
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:53:38.085516"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:53:38.085516"]]
|
486
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
487
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
488
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
489
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
490
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
491
|
+
[1m[35m (0.1ms)[0m begin transaction
|
492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:53:38.100694"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:53:38.100694"]]
|
494
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
496
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
497
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
498
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
499
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
501
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
502
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:53:38.112138"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:53:38.112138"]]
|
503
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
504
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
505
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
507
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
508
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
509
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
510
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:54:22.539556"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:22.539556"]]
|
511
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
512
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
514
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
515
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:54:22.551852"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:22.551852"]]
|
516
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
517
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
518
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
519
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
520
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:54:22.567041"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:22.567041"]]
|
524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
525
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
526
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
527
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
528
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
529
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
530
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
532
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:54:22.577526"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:22.577526"]]
|
533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
534
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
535
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
536
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
537
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
538
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
539
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
540
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:54:45.427231"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:45.427231"]]
|
541
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
542
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
543
|
+
[1m[35m (0.1ms)[0m begin transaction
|
544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
545
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:54:45.440475"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:45.440475"]]
|
546
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
548
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
550
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:54:45.455829"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:45.455829"]]
|
554
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
555
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
558
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
559
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
561
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
562
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:54:45.467232"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:54:45.467232"]]
|
563
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
565
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
567
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
568
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
570
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:55:15.296813"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:55:15.296813"]]
|
571
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
572
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
573
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
574
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
575
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
576
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 16:55:15.316644"]]
|
577
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
578
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
579
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
581
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
582
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:55:15.326088"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:55:15.326088"]]
|
583
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
584
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
585
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
586
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
588
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 16:55:15.330802"]]
|
589
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
592
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
593
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:55:15.336139"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:55:15.336139"]]
|
594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
595
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
596
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
597
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
598
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
599
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 16:55:15.340815"]]
|
600
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
601
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
602
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 16:55:15.342842"]]
|
603
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
604
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
607
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:55:15.346862"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:55:15.346862"]]
|
608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
609
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
610
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
612
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:59:42.315107"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.315107"]]
|
613
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
614
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
617
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:59:42.326172"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.326172"]]
|
618
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
620
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
621
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
622
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
623
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 16:59:42.337854"]]
|
624
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
625
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
626
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
627
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
628
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:59:42.381018"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.381018"]]
|
629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
631
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
632
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
633
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
634
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 16:59:42.386341"]]
|
635
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
636
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
639
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:59:42.391365"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.391365"]]
|
640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
641
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
645
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 16:59:42.394725"]]
|
646
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
647
|
+
[1m[35mUserNotification Load (0.2ms)[0m SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
|
648
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
649
|
+
[1m[35m (0.1ms)[0m begin transaction
|
650
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
651
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 16:59:42.402255"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.402255"]]
|
652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
654
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
655
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
656
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
657
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 16:59:42.406977"]]
|
658
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
659
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 16:59:42.410610"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 16:59:42.410610"]]
|
663
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
664
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
665
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
667
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
668
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 16:59:42.414956"]]
|
669
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 16:59:42.416668"]]
|
672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
673
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
674
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
675
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
676
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 17:00:04.837963"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.837963"]]
|
677
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
678
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
680
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 17:00:04.856870"]]
|
683
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
684
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
685
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 17:00:04.859601"]]
|
686
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
687
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
689
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 17:00:04.863491"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.863491"]]
|
691
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
693
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
696
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 17:00:04.866910"]]
|
697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
698
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
700
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
701
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 17:00:04.881475"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.881475"]]
|
702
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
703
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?)[0m [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
705
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
706
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1 [["sent_at", "2014-07-02 17:00:04.885742"]]
|
708
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
709
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
710
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
711
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
712
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 17:00:04.889612"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.889612"]]
|
713
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
716
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
718
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 17:00:04.892765"]]
|
719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
720
|
+
[1m[36mUserNotification Load (0.2ms)[0m [1mSELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1[0m
|
721
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
722
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
723
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
724
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-07-02 17:00:04.900215"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.900215"]]
|
725
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
727
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "user_notifications" ("from_email", "from_name", "locale", "template_name") VALUES (?, ?, ?, ?) [["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["locale", "en"], ["template_name", "test"]]
|
728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
729
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
730
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "user_notifications" SET "sent_at" = ? WHERE "user_notifications"."id" = 1[0m [["sent_at", "2014-07-02 17:00:04.905000"]]
|
731
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
732
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
733
|
+
[1m[35m (0.1ms)[0m begin transaction
|
734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
735
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-02 17:00:04.909783"], ["email", "foo@bar.com"], ["updated_at", "2014-07-02 17:00:04.909783"]]
|
736
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
737
|
+
[1m[35m (0.3ms)[0m rollback transaction
|