spec/dummy/log/test.log in got_fixed-0.0.2 vs spec/dummy/log/test.log in got_fixed-0.0.3
- old
+ new
@@ -11239,5 +11239,546 @@
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by GotFixed::IssuesController#index as HTML
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
[1m[36mGotFixed::Issue Load (0.1ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC[0m
[1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (4.5ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.2ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.2ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.8ms)
+
+Sent mail to email1@factory.com (20.8ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email1@factory.com
+Message-ID: <5249549bced8d_ebe13fc4b0c546d09009e@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ [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 SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3)[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5)[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7)[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9)[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
+ [1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email2@factory.com (8.8ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email2@factory.com
+Message-ID: <5249549be0040_ebe13fc4b0c546d09012e@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email3@factory.com (8.9ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email3@factory.com
+Message-ID: <5249549be5056_ebe13fc4b0c546d09027c@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email4@factory.com (8.3ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email4@factory.com
+Message-ID: <5249549be95cb_ebe13fc4b0c546d09037f@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email5@factory.com (8.0ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email5@factory.com
+Message-ID: <5249549bed8dc_ebe13fc4b0c546d090417@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email6@factory.com (8.6ms)
+Date: Mon, 30 Sep 2013 12:38:19 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email6@factory.com
+Message-ID: <5249549bf1c03_ebe13fc4b0c546d09059b@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email7@factory.com (8.4ms)
+Date: Mon, 30 Sep 2013 12:38:20 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email7@factory.com
+Message-ID: <5249549c1f99_ebe13fc4b0c546d090668@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email8@factory.com (7.9ms)
+Date: Mon, 30 Sep 2013 12:38:20 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email8@factory.com
+Message-ID: <5249549c100f2_ebe13fc4b0c546d090727@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email9@factory.com (8.0ms)
+Date: Mon, 30 Sep 2013 12:38:20 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email9@factory.com
+Message-ID: <5249549c14041_ebe13fc4b0c546d09089a@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email10@factory.com (7.8ms)
+Date: Mon, 30 Sep 2013 12:38:20 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email10@factory.com
+Message-ID: <5249549c180f1_ebe13fc4b0c546d090971@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
+
+Sent mail to email11@factory.com (8.0ms)
+Date: Mon, 30 Sep 2013 12:38:20 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email11@factory.com
+Message-ID: <5249549c1c0c2_ebe13fc4b0c546d09106c@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Hello,
+
+We are happy to announce you that the issue
+"A very bad issue..."
+has been closed.
+
+In a few minutes, this change will be promoted to production which should fix your problem.
+
+Best regards.
+
+--
+You received this email because you subscribed to issue updates.
+You will only receive emails for issues you registered for.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mGotFixed::User Exists (0.2ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO 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[35mGotFixed::Issue Load (0.2ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = 3910487 AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mGotFixed::Issue Load (0.2ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = 9255225 AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1[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 SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["title", "MyString"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by GotFixed::IssuesController#index as HTML
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/index.html.erb within layouts/got_fixed/application (0.2ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+Processing by GotFixed::IssuesController#github_webhook as HTML
+ Parameters: {"issue"=>{"url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1", "labels_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/labels{/name}", "comments_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/comments", "events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/events", "html_url"=>"https://github.com/ssaunier/got_fixed/issues/1", "id"=>"19526518", "number"=>"1", "title"=>"Testing web hook with \"issues\" event enabled", "user"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://1.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}, "labels"=>[], "state"=>"closed", "assignee"=>nil, "milestone"=>nil, "comments"=>"0", "created_at"=>"2013-09-15T21:22:54Z", "updated_at"=>"2013-09-21T09:44:38Z", "closed_at"=>"2013-09-21T09:44:38Z", "pull_request"=>{"html_url"=>nil, "diff_url"=>nil, "patch_url"=>nil}, "body"=>"This issue is just a test."}, "repository"=>{"id"=>"12729467", "name"=>"got_fixed", "full_name"=>"ssaunier/got_fixed", "owner"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://2.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}, "private"=>false, "html_url"=>"https://github.com/ssaunier/got_fixed", "description"=>"Rails engine to extend your application with a dashboard of your user-reported issues (/!\\ WIP)", "fork"=>false, "url"=>"https://api.github.com/repos/ssaunier/got_fixed", "forks_url"=>"https://api.github.com/repos/ssaunier/got_fixed/forks", "keys_url"=>"https://api.github.com/repos/ssaunier/got_fixed/keys{/key_id}", "collaborators_url"=>"https://api.github.com/repos/ssaunier/got_fixed/collaborators{/collaborator}", "teams_url"=>"https://api.github.com/repos/ssaunier/got_fixed/teams", "hooks_url"=>"https://api.github.com/repos/ssaunier/got_fixed/hooks", "issue_events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/events{/number}", "events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/events", "assignees_url"=>"https://api.github.com/repos/ssaunier/got_fixed/assignees{/user}", "branches_url"=>"https://api.github.com/repos/ssaunier/got_fixed/branches{/branch}", "tags_url"=>"https://api.github.com/repos/ssaunier/got_fixed/tags", "blobs_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/blobs{/sha}", "git_tags_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/tags{/sha}", "git_refs_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/refs{/sha}", "trees_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/trees{/sha}", "statuses_url"=>"https://api.github.com/repos/ssaunier/got_fixed/statuses/{sha}", "languages_url"=>"https://api.github.com/repos/ssaunier/got_fixed/languages", "stargazers_url"=>"https://api.github.com/repos/ssaunier/got_fixed/stargazers", "contributors_url"=>"https://api.github.com/repos/ssaunier/got_fixed/contributors", "subscribers_url"=>"https://api.github.com/repos/ssaunier/got_fixed/subscribers", "subscription_url"=>"https://api.github.com/repos/ssaunier/got_fixed/subscription", "commits_url"=>"https://api.github.com/repos/ssaunier/got_fixed/commits{/sha}", "git_commits_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/commits{/sha}", "comments_url"=>"https://api.github.com/repos/ssaunier/got_fixed/comments{/number}", "issue_comment_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/comments/{number}", "contents_url"=>"https://api.github.com/repos/ssaunier/got_fixed/contents/{+path}", "compare_url"=>"https://api.github.com/repos/ssaunier/got_fixed/compare/{base}...{head}", "merges_url"=>"https://api.github.com/repos/ssaunier/got_fixed/merges", "archive_url"=>"https://api.github.com/repos/ssaunier/got_fixed/{archive_format}{/ref}", "downloads_url"=>"https://api.github.com/repos/ssaunier/got_fixed/downloads", "issues_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues{/number}", "pulls_url"=>"https://api.github.com/repos/ssaunier/got_fixed/pulls{/number}", "milestones_url"=>"https://api.github.com/repos/ssaunier/got_fixed/milestones{/number}", "notifications_url"=>"https://api.github.com/repos/ssaunier/got_fixed/notifications{?since,all,participating}", "labels_url"=>"https://api.github.com/repos/ssaunier/got_fixed/labels{/name}", "created_at"=>"2013-09-10T12:55:36Z", "updated_at"=>"2013-09-21T08:26:53Z", "pushed_at"=>"2013-09-21T08:26:48Z", "git_url"=>"git://github.com/ssaunier/got_fixed.git", "ssh_url"=>"git@github.com:ssaunier/got_fixed.git", "clone_url"=>"https://github.com/ssaunier/got_fixed.git", "svn_url"=>"https://github.com/ssaunier/got_fixed", "homepage"=>"", "size"=>"436", "watchers_count"=>"1", "language"=>"Ruby", "has_issues"=>true, "has_downloads"=>true, "has_wiki"=>true, "forks_count"=>"0", "mirror_url"=>nil, "open_issues_count"=>"1", "forks"=>"0", "open_issues"=>"1", "watchers"=>"1", "master_branch"=>"master", "default_branch"=>"master"}, "sender"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://2.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}}
+ [1m[36mGotFixed::Issue Load (0.5ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" = 'github') LIMIT 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[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
+Processing by GotFixed::IssuesController#subscribe as JS
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
+ [1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
+ [1m[36mGotFixed::Issue Load (0.1ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.9ms)
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
+ [1m[35m (1.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Load (0.0ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by GotFixed::IssuesController#subscribe as JS
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
+ [1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
+ [1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? AND "got_fixed_users"."id" = 1 LIMIT 1[0m [["issue_id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Load (0.0ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by GotFixed::IssuesController#subscribe as JS
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
+ [1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
+ [1m[36mGotFixed::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? AND "got_fixed_users"."id" = 1 LIMIT 1[0m [["issue_id", 1]]
+Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
+ [1m[35m (0.9ms)[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 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 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 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 rollback transaction