(0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (37.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.2ms) Sent mail to spec@test.com (7.4ms) Date: Wed, 11 May 2016 14:16:46 -0400 From: email@test.com To: spec@test.com Message-ID: <5733770e747cd_68913fd07c863be892365@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-05-11 18:16:46 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 11 May 2016 18:16:46 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (53.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (22.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:04 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Wed, 18 May 2016 16:09:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (31.1ms) Date: Wed, 18 May 2016 12:09:05 -0400 From: email@test.com To: spec@test.com Message-ID: <573c93a127391_24293fdbc1457be4965bc@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-05-18 16:09:04 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (6.1ms) Date: Wed, 18 May 2016 12:09:24 -0400 From: email@test.com To: spec@test.com Message-ID: <573c93b4cb847_245f3fd895863be0553f7@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-05-18 16:09:24 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Wed, 18 May 2016 16:09:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (53.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (28.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target2"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner1"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["notified", nil], ["owner", "owner"], ["target", "target"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (33.1ms) Date: Fri, 20 May 2016 16:30:42 -0400 From: email@test.com To: spec@test.com Message-ID: <573f73f2b8506_32913fedd5863be023087@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-05-20 20:30:42 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", nil], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Fri, 20 May 2016 20:30:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (32.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:50:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:50:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (30.9ms) Date: Mon, 23 May 2016 10:52:35 -0400 From: email@test.com To: spec@test.com Message-ID: <57431933ed47e_47c3febcc463be0937b2@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-05-23 14:52:35 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 23 May 2016 14:52:35 UTC +00:00], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:52:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 23 May 2016 14:52:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 23 May 2016 14:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (35.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (22.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.2ms) Sent mail to spec@test.com (34.8ms) Date: Thu, 02 Jun 2016 15:01:36 -0400 From: email@test.com To: spec@test.com Message-ID: <57508290a1eed_2a4d3fd265855be854757@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 19:01:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:01:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to spec@test.com (14.2ms) Date: Thu, 02 Jun 2016 15:02:02 -0400 From: email@test.com To: spec@test.com Message-ID: <575082aaa30c4_2a5a3fcd69463be43223b@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 19:02:02 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:02:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (26.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 19:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (52.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to spec@test.com (28.0ms) Date: Thu, 02 Jun 2016 16:18:36 -0400 From: email@test.com To: spec@test.com Message-ID: <5750949cc12c8_2c7b3ff949c63be454310@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 20:18:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 20:18:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (7.0ms) Date: Thu, 02 Jun 2016 16:19:28 -0400 From: email@test.com To: spec@test.com Message-ID: <575094d062ffc_2c883ff7b9c63be43875@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 20:19:28 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.3ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:19:28 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (8.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.6ms) Date: Thu, 02 Jun 2016 16:20:01 -0400 From: email@test.com To: spec@test.com Message-ID: <575094f1bc2b6_2c953fc7d0c63be4998bf@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 20:20:01 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.7ms) Sent mail to spec@test.com (6.1ms) Date: Thu, 02 Jun 2016 16:20:16 -0400 From: email@test.com To: spec@test.com Message-ID: <57509500d5a93_2ca33fdc25063bf0373c7@kyles-mbp.lang.uc.edu.mail> Subject: Updates from Scholar@UC Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-02 20:20:16 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 02 Jun 2016 20:20:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (54.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to spec@test.com (26.2ms) Date: Mon, 06 Jun 2016 11:10:09 -0400 From: email@test.com To: spec@test.com Message-ID: <57559251e3806_3cf83fee99463be8325ec@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 15:10:09 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 15:10:09 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 15:10:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (32.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.4ms) Sent mail to spec@test.com (7.2ms) Date: Mon, 06 Jun 2016 11:10:33 -0400 From: email@test.com To: spec@test.com Message-ID: <575592697736d_3d053ff5b9463be492438@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 15:10:33 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (30.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 15:10:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (96.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (20.5ms) Date: Mon, 06 Jun 2016 12:09:21 -0400 From: email@test.com To: spec@test.com Message-ID: <5755a031ab93_40ce3fe461863be07137b@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 16:09:20 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 16:09:21 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (33.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.2ms) Date: Mon, 06 Jun 2016 12:09:47 -0400 From: email@test.com To: spec@test.com Message-ID: <5755a04bb3f60_40db3fe1d1463be091211@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 16:09:47 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 16:09:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (29.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to spec@test.com (32.9ms) Date: Mon, 06 Jun 2016 13:05:02 -0400 From: email@test.com To: spec@test.com Message-ID: <5755ad3e15f36_41b63fc64d863be023432@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 17:05:01 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:05:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (32.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Mon, 06 Jun 2016 17:07:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.5ms) Sent mail to spec@test.com (12.4ms) Date: Mon, 06 Jun 2016 13:07:22 -0400 From: email@test.com To: spec@test.com Message-ID: <5755adca1f8d2_41d63fdaed463be4412fd@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-06 17:07:21 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Mon, 06 Jun 2016 17:07:22 UTC +00:00], ["updated_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Mon, 06 Jun 2016 17:07:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (65.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.1ms) Sent mail to spec@test.com (32.4ms) Date: Tue, 07 Jun 2016 14:30:38 -0400 From: email@test.com To: spec@test.com Message-ID: <575712cef32a3_7f513ff414857be831426@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:30:38 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:30:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (33.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (16.2ms) Sent mail to spec@test.com (20.4ms) Date: Tue, 07 Jun 2016 14:32:36 -0400 From: email@test.com To: spec@test.com Message-ID: <57571344e97b0_7f5e3fd7a5863be085c5@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:32:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:32:37 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:32:37 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:34:52 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:34:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 14:34:52 -0400 From: email@test.com To: spec@test.com Message-ID: <575713ccf3929_7f6b3fe876063be890296@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:34:52 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:34:53 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:34:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:34:53 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:34:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:34:53 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:34:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to spec@test.com (5.7ms) Date: Tue, 07 Jun 2016 14:39:27 -0400 From: email@test.com To: spec@test.com Message-ID: <575714dfad432_7f963fee49c63be045633@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:39:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (11.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:40:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:41:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL ChangeManager::Change Load (3.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:42:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 14:43:32 -0400 From: email@test.com To: spec@test.com Message-ID: <575715d4d0f01_7fca3fcb54463bec5223c@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:43:32 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 14:46:16 -0400 From: email@test.com To: spec@test.com Message-ID: <575716784559_7fd73ffcb1463be0694ed@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:46:15 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (1.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.3ms) Date: Tue, 07 Jun 2016 14:47:06 -0400 From: email@test.com To: spec@test.com Message-ID: <575716aabcbb1_7fe43ffb71063be466fe@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:47:06 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:47:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 14:49:11 -0400 From: email@test.com To: spec@test.com Message-ID: <575717273b913_7ff23fc89a063be462744@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:49:11 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (45.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (21.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (153.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (18.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.7ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 14:50:09 -0400 From: email@test.com To: spec@test.com Message-ID: <5757176191765_7fff3fce6a063bf0375f3@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:50:09 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:50:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 14:51:28 -0400 From: email@test.com To: spec@test.com Message-ID: <575717b095d31_800c3fec6d863be07062d@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:51:28 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:51:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 14:54:05 -0400 From: email@test.com To: spec@test.com Message-ID: <5757184d118ce_801a3fdfc0863be05599c@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 18:54:04 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 18:54:05 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 18:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:54:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 18:54:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 18:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.8ms) Date: Tue, 07 Jun 2016 15:01:17 -0400 From: email@test.com To: spec@test.com Message-ID: <575719fd8a172_80363fd28d463be83936c@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:01:17 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:01:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 15:07:59 -0400 From: email@test.com To: spec@test.com Message-ID: <57571b8f99940_80453ff341063be0299c1@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:07:59 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_from_group"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:07:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 15:11:08 -0400 From: email@test.com To: spec@test.com Message-ID: <57571c4c253b3_80553fc334463bec234f5@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:11:07 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 15:11:27 -0400 From: email@test.com To: spec@test.com Message-ID: <57571c5fde9fb_80623fc639c63bf025759@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:11:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (31.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 15:11:50 -0400 From: email@test.com To: spec@test.com Message-ID: <57571c76594ce_806f3fed59c63be035248@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:11:50 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (26.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:11:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 15:12:38 -0400 From: email@test.com To: spec@test.com Message-ID: <57571ca6ee45a_807c3fdfd0863be4166b6@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:12:38 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:12:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:12:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 15:15:35 -0400 From: email@test.com To: spec@test.com Message-ID: <57571d57eb153_808f3fc4bc863bf01628@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:15:35 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 15:16:08 -0400 From: email@test.com To: spec@test.com Message-ID: <57571d784b25e_809c3ffc50863be843235@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:16:08 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:16:08 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:16:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.9ms) Date: Tue, 07 Jun 2016 15:18:58 -0400 From: email@test.com To: spec@test.com Message-ID: <57571e22b7976_80ab3ffd79c63bec225df@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:18:58 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:18:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (5.8ms) Date: Tue, 07 Jun 2016 15:23:59 -0400 From: email@test.com To: spec@test.com Message-ID: <57571f4f4f0d6_80c43ffebe063be48261d@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:23:59 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:23:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 15:24:57 -0400 From: email@test.com To: spec@test.com Message-ID: <57571f89b2e29_80d13fecadc63bec642f0@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:24:57 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:24:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 15:27:03 -0400 From: email@test.com To: spec@test.com Message-ID: <575720078400e_80e03fea21063bf07128@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:27:03 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.7ms) Date: Tue, 07 Jun 2016 15:27:27 -0400 From: email@test.com To: spec@test.com Message-ID: <5757201fe5103_80ed3fe652063bf045634@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:27:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (34.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (5.7ms) Date: Tue, 07 Jun 2016 15:29:28 -0400 From: email@test.com To: spec@test.com Message-ID: <575720988e5c2_80fa3fe7e8c63be8917d8@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:29:28 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (12.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (19.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (3.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:30:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 15:30:19 -0400 From: email@test.com To: spec@test.com Message-ID: <575720cba73ec_81073fec3d063bf08303f@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:30:19 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 19:30:19 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:30:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:30:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 15:31:00 -0400 From: email@test.com To: spec@test.com Message-ID: <575720f459a9_81153fe5ecc63bf095688@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:30:59 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:31:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (26.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 15:31:16 -0400 From: email@test.com To: spec@test.com Message-ID: <5757210465776_81223ffb48463bf0503ba@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:31:16 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (20.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:31:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL ChangeManager::Change Load (1.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:32:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 15:32:37 -0400 From: email@test.com To: spec@test.com Message-ID: <5757215586aa5_81323fe815463bf067480@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:32:37 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:32:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:33:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:33:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:33:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 15:33:36 -0400 From: email@test.com To: spec@test.com Message-ID: <57572190fb15_813f3fe644863bec538d2@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:33:35 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 19:33:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:35:41 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:35:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (21.7ms) Date: Tue, 07 Jun 2016 15:35:41 -0400 From: email@test.com To: spec@test.com Message-ID: <5757220dca7c2_815a3ff1a8863bf0737bb@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:35:41 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 19:35:41 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:35:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (23.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to spec@test.com (7.4ms) Date: Tue, 07 Jun 2016 15:36:34 -0400 From: email@test.com To: spec@test.com Message-ID: <57572242367a0_81673ffdadc63be075a6@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:36:33 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.7ms) Sent mail to spec@test.com (6.5ms) Date: Tue, 07 Jun 2016 15:36:57 -0400 From: email@test.com To: spec@test.com Message-ID: <5757225931416_81743fd282063be8236b5@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:36:57 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:36:57 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:36:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:36:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:36:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:36:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.4ms) Date: Tue, 07 Jun 2016 15:39:07 -0400 From: email@test.com To: spec@test.com Message-ID: <575722db1ea1e_81813ff165c63be4820c7@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:39:06 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 15:39:29 -0400 From: email@test.com To: spec@test.com Message-ID: <575722f1742da_818e3feaf5063be46476a@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:39:29 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:40:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:40:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:40:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (6.6ms) Date: Tue, 07 Jun 2016 15:40:39 -0400 From: email@test.com To: spec@test.com Message-ID: <5757233729103_819b3fe7c1063be43825@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:40:38 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (54.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.2ms) Sent mail to spec@test.com (29.7ms) Date: Tue, 07 Jun 2016 15:58:44 -0400 From: email@test.com To: spec@test.com Message-ID: <575727749e643_81ab3fde61855be017451@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:58:44 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.4ms) Date: Tue, 07 Jun 2016 15:58:44 -0400 From: email@test.com To: spec@test.com Message-ID: <57572774bd6b2_81ab3fde61855be0175f7@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:58:44 UTC
email@test.com1added_as_delegate2016-06-07 19:58:44 UTC
email@test.com1added_as_delegate2016-06-07 19:58:44 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:58:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 15:59:22 -0400 From: email@test.com To: spec@test.com Message-ID: <5757279ab2319_81b83ff4bc863be852766@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:59:22 UTC
email@test.com1added_as_delegate2016-06-07 19:59:22 UTC
email@test.com1added_as_delegate2016-06-07 19:59:22 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (3.6ms) Date: Tue, 07 Jun 2016 15:59:25 -0400 From: email@test.com To: spec@test.com Message-ID: <5757279df4df_81b83ff4bc863be85288c@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 19:59:25 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 19:59:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:14 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (35.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.8ms) Sent mail to spec@test.com (6.1ms) Date: Tue, 07 Jun 2016 16:00:37 -0400 From: email@test.com To: spec@test.com Message-ID: <575727e5bd3b7_81c53fcf9dc63bec3609d@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
Changes can include:
Thanks, The Scholar@UC team Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.8ms) Date: Tue, 07 Jun 2016 16:00:44 -0400 From: email@test.com To: spec@test.com Message-ID: <575727eca57f3_81c53fcf9dc63bec36140@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
email@test.com1added_as_delegate2016-06-07 20:00:15 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:00:46 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:00:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.7ms) Date: Tue, 07 Jun 2016 16:02:20 -0400 From: email@test.com To: spec@test.com Message-ID: <5757284cc9009_81c53fcf9dc63bec362f8@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:00:46 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:02:20 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (29.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (11.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (7.3ms) Date: Tue, 07 Jun 2016 16:02:33 -0400 From: email@test.com To: spec@test.com Message-ID: <5757285960154_81d33fd210863be414888@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:02:31 UTC
email@test.com1added_as_delegate2016-06-07 20:02:31 UTC
email@test.com1added_as_delegate2016-06-07 20:02:31 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.8ms) Date: Tue, 07 Jun 2016 16:02:35 -0400 From: email@test.com To: spec@test.com Message-ID: <5757285bde790_81d33fd210863be414937@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:02:33 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:02:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:02:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:02:35 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:02:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (36.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (7.2ms) Date: Tue, 07 Jun 2016 16:03:08 -0400 From: email@test.com To: spec@test.com Message-ID: <5757287c4272d_81e03ffee0c63be8135f3@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:03:07 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.2ms) SAVEPOINT active_record_1 SQL (31.6ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:03:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:03:49 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:03:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.5ms) Date: Tue, 07 Jun 2016 16:03:49 -0400 From: email@test.com To: spec@test.com Message-ID: <575728a54d1f8_81e03ffee0c63be8136a2@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:03:49 UTC
email@test.com1added_as_delegate2016-06-07 20:03:49 UTC
email@test.com1added_as_delegate2016-06-07 20:03:49 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:04:02 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:04:02 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:04:02 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:04:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:04:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to spec@test.com (5.8ms) Date: Tue, 07 Jun 2016 16:05:18 -0400 From: email@test.com To: spec@test.com Message-ID: <575728fe2a891_81ed3fca5d863be0215c7@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:05:17 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (47.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:05:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (7.4ms) Date: Tue, 07 Jun 2016 16:06:44 -0400 From: email@test.com To: spec@test.com Message-ID: <575729546cef3_81fa3fc584463be02225e@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:06:44 UTC
email@test.com1added_as_delegate2016-06-07 20:06:44 UTC
email@test.com1added_as_delegate2016-06-07 20:06:44 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (11.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.8ms) Date: Tue, 07 Jun 2016 16:06:44 -0400 From: email@test.com To: spec@test.com Message-ID: <575729547412a_81fa3fc584463be022382@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:06:44 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (7.3ms) Date: Tue, 07 Jun 2016 16:07:28 -0400 From: email@test.com To: spec@test.com Message-ID: <5757298072eb8_82073fbff4c63bf015428@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:28 UTC
email@test.com1added_as_delegate2016-06-07 20:07:28 UTC
email@test.com1added_as_delegate2016-06-07 20:07:28 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (16.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (24.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.2ms) Date: Tue, 07 Jun 2016 16:07:28 -0400 From: email@test.com To: spec@test.com Message-ID: <5757298089e48_82073fbff4c63bf015584@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:28 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:07:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (7.0ms) Date: Tue, 07 Jun 2016 16:07:35 -0400 From: email@test.com To: spec@test.com Message-ID: <575729871db23_82143feddc863be840041@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:34 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.0ms) Date: Tue, 07 Jun 2016 16:07:35 -0400 From: email@test.com To: spec@test.com Message-ID: <575729872ca43_82143feddc863be840181@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:35 UTC
email@test.com1added_as_delegate2016-06-07 20:07:35 UTC
email@test.com1added_as_delegate2016-06-07 20:07:35 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (5.9ms) Date: Tue, 07 Jun 2016 16:07:48 -0400 From: email@test.com To: spec@test.com Message-ID: <5757299456bd6_82213fd3c5863bec985a6@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:48 UTC
email@test.com1added_as_delegate2016-06-07 20:07:48 UTC
email@test.com1added_as_delegate2016-06-07 20:07:48 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.1ms) Date: Tue, 07 Jun 2016 16:07:48 -0400 From: email@test.com To: spec@test.com Message-ID: <5757299467849_82213fd3c5863bec986dc@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:07:48 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:07:48 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.5ms) Date: Tue, 07 Jun 2016 16:08:07 -0400 From: email@test.com To: spec@test.com Message-ID: <575729a7ceac_822e3fc710c63bf0663ea@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:08:07 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:08:07 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:08:07 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (3.3ms) Date: Tue, 07 Jun 2016 16:08:30 -0400 From: email@test.com To: spec@test.com Message-ID: <575729be7131_822e3fc710c63bf066461@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
email@test.com1added_as_delegate2016-06-07 20:08:06 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:08:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:08:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:08:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (42.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.3ms) Date: Tue, 07 Jun 2016 16:08:59 -0400 From: email@test.com To: spec@test.com Message-ID: <575729db35391_822e3fc710c63bf06656a@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:08:59 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:08:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (35.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.9ms) Sent mail to spec@test.com (9.2ms) Date: Tue, 07 Jun 2016 16:09:36 -0400 From: email@test.com To: spec@test.com Message-ID: <57572a0073c63_82413fe030863be82062a@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:09:36 UTC
email@test.com1added_as_delegate2016-06-07 20:09:36 UTC
email@test.com1added_as_delegate2016-06-07 20:09:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:09:54 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:09:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:14:04 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:14:06 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:14:07 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (102.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:07 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.8ms) Date: Tue, 07 Jun 2016 16:14:07 -0400 From: email@test.com To: spec@test.com Message-ID: <57572b0fbbd7f_82413fe030863be82078@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:14:07 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (36.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.1ms) Sent mail to spec@test.com (7.4ms) Date: Tue, 07 Jun 2016 16:14:24 -0400 From: email@test.com To: spec@test.com Message-ID: <57572b20695fe_82523fff59c63bec302de@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:14:24 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.6ms) Date: Tue, 07 Jun 2016 16:14:24 -0400 From: email@test.com To: spec@test.com Message-ID: <57572b2074b3c_82523fff59c63bec303ba@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:14:24 UTC
email@test.com1added_as_delegate2016-06-07 20:14:24 UTC
email@test.com1added_as_delegate2016-06-07 20:14:24 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:14:24 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:14:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (12.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:14:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (35.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (10.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to spec@test.com (8.1ms) Date: Tue, 07 Jun 2016 16:15:19 -0400 From: email@test.com To: spec@test.com Message-ID: <57572b572fe87_825f3fda39063be8112d6@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:15:18 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.1ms) Date: Tue, 07 Jun 2016 16:15:19 -0400 From: email@test.com To: spec@test.com Message-ID: <57572b573a1b3_825f3fda39063be8113f8@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:15:19 UTC
email@test.com1added_as_delegate2016-06-07 20:15:19 UTC
email@test.com1added_as_delegate2016-06-07 20:15:19 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:15:19 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:15:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:18:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:18:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:19:03 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:19:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:19:09 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (64.2ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (43.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (3.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:21:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.7ms) Sent mail to target (7.1ms) Date: Tue, 07 Jun 2016 16:21:35 -0400 From: owner To: target Message-ID: <57572ccf35f29_82793fcb40863be8973ba@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:21:34 UTC
ownerwork_id1added_as_delegate2016-06-07 20:21:34 UTC
ownerwork_id1added_as_delegate2016-06-07 20:21:34 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:21:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:21:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:21:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:21:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:21:35 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:21:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (43.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.3ms) Date: Tue, 07 Jun 2016 16:22:08 -0400 From: email@test.com To: spec@test.com Message-ID: <57572cf0eded9_82793fcb40863be897429@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:22:08 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:22:08 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:22:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:22:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (43.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:23:25 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:23:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (12.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to target (7.6ms) Date: Tue, 07 Jun 2016 16:23:26 -0400 From: owner To: target Message-ID: <57572d3e5daa6_82873fdbb5463be4580f2@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:23:26 UTC
ownerwork_id1added_as_delegate2016-06-07 20:23:26 UTC
ownerwork_id1added_as_delegate2016-06-07 20:23:26 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.2ms) Date: Tue, 07 Jun 2016 16:23:26 -0400 From: email@test.com To: spec@test.com Message-ID: <57572d3e61f16_82873fdbb5463be4581f@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:23:26 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:23:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (18.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (2.0ms) Sent mail to target (7.2ms) Date: Tue, 07 Jun 2016 16:24:30 -0400 From: owner To: target Message-ID: <57572d7eec232_82963fc159c63be4164dd@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:24:30 UTC
ownerwork_id1added_as_delegate2016-06-07 20:24:30 UTC
ownerwork_id1added_as_delegate2016-06-07 20:24:30 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:24:30 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.5ms) Sent mail to spec@test.com (6.2ms) Date: Tue, 07 Jun 2016 16:25:23 -0400 From: email@test.com To: spec@test.com Message-ID: <57572db319d22_82a33feec0863be0789b9@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:25:22 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (2.7ms) Date: Tue, 07 Jun 2016 16:25:23 -0400 From: owner To: target Message-ID: <57572db31e673_82a33feec0863be07901c@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:25:23 UTC
ownerwork_id1added_as_delegate2016-06-07 20:25:23 UTC
ownerwork_id1added_as_delegate2016-06-07 20:25:23 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.8ms) Sent mail to spec@test.com (5.6ms) Date: Tue, 07 Jun 2016 16:25:44 -0400 From: email@test.com To: spec@test.com Message-ID: <57572dc886ec_82b03fe820463be05655@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:25:43 UTC
Changes can include:
Thanks, The Scholar@UC team  (13.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (2.0ms) Date: Tue, 07 Jun 2016 16:25:44 -0400 From: owner To: target Message-ID: <57572dc8e9b1_82b03fe820463be0571a@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:25:44 UTC
ownerwork_id1added_as_delegate2016-06-07 20:25:44 UTC
ownerwork_id1added_as_delegate2016-06-07 20:25:44 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (26.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (160.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (21.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (29.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.7ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 16:26:10 -0400 From: email@test.com To: spec@test.com Message-ID: <57572de2a42b7_82bd3fd49d063be42587@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:26:10 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (1.9ms) Date: Tue, 07 Jun 2016 16:26:10 -0400 From: owner To: target Message-ID: <57572de2b2dc6_82bd3fd49d063be4259b6@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:26:10 UTC
ownerwork_id1added_as_delegate2016-06-07 20:26:10 UTC
ownerwork_id1added_as_delegate2016-06-07 20:26:10 UTC
Changes can include:
Thanks, The Scholar@UC team  (1.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.6ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 16:26:36 -0400 From: email@test.com To: spec@test.com Message-ID: <57572dfc776dc_82ca3fd690863bec824e@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:26:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (2.0ms) Date: Tue, 07 Jun 2016 16:26:36 -0400 From: owner To: target Message-ID: <57572dfc7db94_82ca3fd690863bec825d9@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:26:36 UTC
ownerwork_id1added_as_delegate2016-06-07 20:26:36 UTC
ownerwork_id1added_as_delegate2016-06-07 20:26:36 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:26:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (30.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.5ms) Sent mail to target (6.2ms) Date: Tue, 07 Jun 2016 16:27:04 -0400 From: owner To: target Message-ID: <57572e18689e0_82d73fe0be063be432972@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:27:04 UTC
ownerwork_id1added_as_delegate2016-06-07 20:27:04 UTC
ownerwork_id1added_as_delegate2016-06-07 20:27:04 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (17.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.1ms) Date: Tue, 07 Jun 2016 16:27:04 -0400 From: email@test.com To: spec@test.com Message-ID: <57572e18700c4_82d73fe0be063be433023@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:27:04 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to target (5.6ms) Date: Tue, 07 Jun 2016 16:29:34 -0400 From: owner To: target Message-ID: <57572eaea3fcf_82e63fd669c63bec3095e@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:29:34 UTC
ownerwork_id1added_as_delegate2016-06-07 20:29:34 UTC
ownerwork_id1added_as_delegate2016-06-07 20:29:34 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:29:34 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to target (5.8ms) Date: Tue, 07 Jun 2016 16:29:58 -0400 From: owner To: target Message-ID: <57572ec678963_82f33fe4c8463bf056817@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:29:58 UTC
ownerwork_id1added_as_delegate2016-06-07 20:29:58 UTC
ownerwork_id1added_as_delegate2016-06-07 20:29:58 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.2ms) Date: Tue, 07 Jun 2016 16:29:58 -0400 From: email@test.com To: spec@test.com Message-ID: <57572ec67c937_82f33fe4c8463bf0569cd@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:29:58 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:29:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.4ms) Sent mail to spec@test.com (5.8ms) Date: Tue, 07 Jun 2016 16:31:38 -0400 From: email@test.com To: spec@test.com Message-ID: <57572f2a4faee_83013fe241863be46896@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:31:38 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (2.6ms) Date: Tue, 07 Jun 2016 16:31:38 -0400 From: owner To: target Message-ID: <57572f2a534fc_83013fe241863be469037@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:31:38 UTC
ownerwork_id1added_as_delegate2016-06-07 20:31:38 UTC
ownerwork_id1added_as_delegate2016-06-07 20:31:38 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:31:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.2ms) Sent mail to spec@test.com (6.0ms) Date: Tue, 07 Jun 2016 16:34:27 -0400 From: email@test.com To: spec@test.com Message-ID: <57572fd37734e_830e3fe17c463be0575c5@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-07 20:34:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to target (2.0ms) Date: Tue, 07 Jun 2016 16:34:27 -0400 From: owner To: target Message-ID: <57572fd37c9b4_830e3fe17c463be05769@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-07 20:34:27 UTC
ownerwork_id1added_as_delegate2016-06-07 20:34:27 UTC
ownerwork_id1added_as_delegate2016-06-07 20:34:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Tue, 07 Jun 2016 20:34:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (66.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00], ["notified", Thu, 09 Jun 2016 12:59:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 12:59:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (29.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00], ["notified", Thu, 09 Jun 2016 13:01:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:01:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (18.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (20.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:33:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (29.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:34:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:34:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:34:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:36:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:48:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (30.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:54:56 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00], ["notified", Thu, 09 Jun 2016 13:54:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:54:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (22.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00], ["notified", Thu, 09 Jun 2016 13:57:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 13:57:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:06:09 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:06:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:06:19 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:06:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:07:13 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:07:13 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:07:36 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:07:37 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:07:37 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:07:37 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:09:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:09:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:09:59 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:09:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:10:11 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:30 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:10:30 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:10:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:10:31 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:10:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:11:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:12:01 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:12:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:13:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:13:26 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:13:57 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:13:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:14:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:14:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:14:42 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:14:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:14:43 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:14:43 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (20.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:15:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:15:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:15:39 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:15:39 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:15:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:15:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:15:42 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:21 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:17:21 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:17:22 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00], ["notified", Thu, 09 Jun 2016 14:17:40 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:17:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.8ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.5ms) Sent mail to target (7.5ms) Date: Thu, 09 Jun 2016 10:53:09 -0400 From: owner To: target Message-ID: <575982d542c80_8dd03fff19853bf0765a1@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:53:08 UTC
ownerwork_id1added_as_delegate2016-06-09 14:53:08 UTC
ownerwork_id1added_as_delegate2016-06-09 14:53:08 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.4ms) Date: Thu, 09 Jun 2016 10:53:09 -0400 From: email@test.com To: spec@test.com Message-ID: <575982d54b497_8dd03fff19853bf0766e3@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:53:09 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:53:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.0ms) Sent mail to target (5.0ms) Date: Thu, 09 Jun 2016 10:54:55 -0400 From: owner To: target Message-ID: <5759833f850bd_8ddd3ffa35c63be86086d@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:54:55 UTC
ownerwork_id1added_as_delegate2016-06-09 14:54:55 UTC
ownerwork_id1added_as_delegate2016-06-09 14:54:55 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.4ms) Date: Thu, 09 Jun 2016 10:54:55 -0400 From: email@test.com To: spec@test.com Message-ID: <5759833f89540_8ddd3ffa35c63be860948@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:54:55 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (1.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (7.9ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.4ms) Sent mail to target (5.3ms) Date: Thu, 09 Jun 2016 10:55:16 -0400 From: owner To: target Message-ID: <57598354cfba2_8dea3fc365463be818584@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:55:16 UTC
ownerwork_id1added_as_delegate2016-06-09 14:55:16 UTC
ownerwork_id1added_as_delegate2016-06-09 14:55:16 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.2ms) Date: Thu, 09 Jun 2016 10:55:16 -0400 From: email@test.com To: spec@test.com Message-ID: <57598354d9146_8dea3fc365463be818638@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:55:16 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.1ms) Sent mail to target (5.4ms) Date: Thu, 09 Jun 2016 10:56:05 -0400 From: owner To: target Message-ID: <57598385b48d3_8df93fd2d5863bec1025@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:56:05 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:05 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:05 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.3ms) Date: Thu, 09 Jun 2016 10:56:05 -0400 From: email@test.com To: spec@test.com Message-ID: <57598385b9047_8df93fd2d5863bec1121@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:56:05 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (1.6ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.0ms) Sent mail to spec@test.com (5.5ms) Date: Thu, 09 Jun 2016 10:56:29 -0400 From: email@test.com To: spec@test.com Message-ID: <5759839d62972_8e063fce48863bec83293@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:56:29 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to target (1.7ms) Date: Thu, 09 Jun 2016 10:56:29 -0400 From: owner To: target Message-ID: <5759839d65a9d_8e063fce48863bec8335d@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:56:29 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:29 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:29 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.0ms) Sent mail to target (5.4ms) Date: Thu, 09 Jun 2016 10:56:55 -0400 From: owner To: target Message-ID: <575983b79795e_8e143fdc35863bec849dd@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:56:55 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:55 UTC
ownerwork_id1added_as_delegate2016-06-09 14:56:55 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.2ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.1ms) Sent mail to spec@test.com (2.4ms) Date: Thu, 09 Jun 2016 10:56:55 -0400 From: email@test.com To: spec@test.com Message-ID: <575983b7a6e1f_8e143fdc35863bec8503@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:56:55 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:56:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (1.3ms) Sent mail to target (7.0ms) Date: Thu, 09 Jun 2016 10:57:27 -0400 From: owner To: target Message-ID: <575983d7293f8_8e213fd1b8463bf0509a9@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
ownerwork_id1added_as_delegate2016-06-09 14:57:26 UTC
ownerwork_id1added_as_delegate2016-06-09 14:57:26 UTC
ownerwork_id1added_as_delegate2016-06-09 14:57:26 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["notified", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["notified", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'email@test.com' AND "change_manager_changes"."target" = 'spec@test.com' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL Rendered /Users/kyle/workspace/change_manager/app/views/change_manager/notification_mailer/construct_email.html.erb (0.0ms) Sent mail to spec@test.com (2.3ms) Date: Thu, 09 Jun 2016 10:57:27 -0400 From: email@test.com To: spec@test.com Message-ID: <575983d73435d_8e213fd1b8463bf05105a@kyles-mbp.lang.uc.edu.mail> Subject: Recent Updates from Test App Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Dear Scholar@UC User,

This email is to inform you that the following changes have been made to your account:

Change OwnerChange ContextChangeTime
email@test.com1added_as_delegate2016-06-09 14:57:27 UTC
Changes can include:
Thanks, The Scholar@UC team  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "change_manager_changes" SET "notified" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1 [["notified", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "test"], ["target", "testemail@gmail.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target2"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id2"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner1"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]] ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_editor"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_to_group"], ["context", "work_id4"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "work_id1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "owner"], ["target", "target"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.0ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2 [["cancelled", true], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ChangeManager::Change Load (0.1ms) SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f' AND "change_manager_changes"."notified" IS NULL  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", false], ["change_type", "removed_as_delegate"], ["context", "xyzg1234"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cancelled", true], ["change_type", "added_as_delegate"], ["context", "1"], ["created_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00], ["owner", "email@test.com"], ["target", "spec@test.com"], ["updated_at", Thu, 09 Jun 2016 14:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction