[1m[36m (0.4ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (37.8ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.2ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "change_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mChangeManager::Change Load (0.2ms)[0m 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 Owner | Change Context | Change | Time | email@test.com | 1 | added_as_delegate | 2016-05-11 18:16:46 UTC |
Changes can include:
- Being added/removed as another contributor's delegate
- Being added/removed as an editor of a work
- Being added/removed to a group
Thanks,
The Scholar@UC team
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (1.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.2ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2[0m [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.2ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.7ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 4]]
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4[0m [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m INSERT 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3[0m [["cancelled", true], ["updated_at", Wed, 11 May 2016 18:16:46 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m rollback transaction
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (53.8ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (22.3ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.2ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "change_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mChangeManager::Change Load (0.2ms)[0m 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 Owner | Change Context | Change | Time | email@test.com | 1 | added_as_delegate | 2016-05-18 16:09:04 UTC |
Changes can include:
- Being added/removed as another contributor's delegate
- Being added/removed as an editor of a work
- Being added/removed to a group
Thanks,
The Scholar@UC team
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m INSERT 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (1.3ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.2ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.9ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 4]]
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m INSERT 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:05 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m rollback transaction
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "change_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mChangeManager::Change Load (0.1ms)[0m 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 Owner | Change Context | Change | Time | email@test.com | 1 | added_as_delegate | 2016-05-18 16:09:24 UTC |
Changes can include:
- Being added/removed as another contributor's delegate
- Being added/removed as an editor of a work
- Being added/removed to a group
Thanks,
The Scholar@UC team
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m INSERT 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.8ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.8ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 4]]
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.2ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m INSERT 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "change_manager_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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3[0m [["cancelled", true], ["updated_at", Wed, 18 May 2016 16:09:24 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m rollback transaction
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (53.9ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (28.5ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36mChangeManager::Change Load (0.2ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (1.4ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 4]]
[1m[35mChangeManager::Change Load (0.1ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.2ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 4[0m [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 2]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 3]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 4]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 5]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 3[0m [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m 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]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 2]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "notified", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 3]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 2[0m [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."owner" = 'owner' AND "change_manager_changes"."target" = 'target' AND "change_manager_changes"."cancelled" = 'f'[0m
[1m[35m (0.7ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.3ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mChangeManager::Change Load (0.0ms)[0m [1mSELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mChangeManager::Change Load (0.0ms)[0m SELECT "change_manager_changes".* FROM "change_manager_changes" WHERE "change_manager_changes"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mChangeManager::Change Load (0.1ms)[0m [1mSELECT "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'[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.3ms)[0m [1mUPDATE "change_manager_changes" SET "cancelled" = ?, "updated_at" = ? WHERE "change_manager_changes"."id" = 1[0m [["cancelled", true], ["updated_at", Fri, 20 May 2016 20:30:42 UTC +00:00]]
[1m[35m (0.0ms)[0m 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 Owner | Change Context | Change | Time | email@test.com | 1 | added_as_delegate | 2016-05-20 20:30:42 UTC |
Changes can include:
- Being added/removed as another contributor's delegate
- Being added/removed as an editor of a work
- Being added/removed to a group
Thanks,
The Scholar@UC team
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "change_manager_changes" ("cancelled", "change_type", "context", "created_at", "owner", "target", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m 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]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction