(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