(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