spec/dummy/log/test.log in got_fixed-0.0.5 vs spec/dummy/log/test.log in got_fixed-0.0.6
- old
+ new
@@ -15093,5 +15093,436 @@
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by GotFixed::IssuesController#index as HTML
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
[1m[36mGotFixed::Issue Load (0.2ms)[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.3ms)[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.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 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.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" = 'foo' LIMIT 1
+ [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[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 (4.9ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
+ [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" = 'foo@bar.com' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mGotFixed::User Exists (0.1ms)[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" = 'seb@saunier.me' LIMIT 1[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[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.4ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mGotFixed::User Load (0.2ms)[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", Wed, 02 Oct 2013 17:34:45 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[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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [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" = 'email1@factory.com' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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
+ [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.1ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
+ [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]]
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.7ms)
+
+Sent mail to email1@factory.com (14.3ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email1@factory.com
+Message-ID: <524c59352c439_5733fc02d4546d84563a@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[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"."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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
+ [1m[36m (0.0ms)[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" = 'email2@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 1)[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" = 'email3@factory.com' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 2)
+ [1m[36m (0.0ms)[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.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 3)[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" = 'email5@factory.com' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 4)
+ [1m[36m (0.0ms)[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" = 'email6@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
+ [1m[36m (0.0ms)[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, 5)[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.0ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.0ms)[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.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 7)[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" = 'email9@factory.com' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 8)
+ [1m[36m (0.0ms)[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" = 'email10@factory.com' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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, 10)
+ [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
+ [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.1ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.0ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email2@factory.com
+Message-ID: <524c59353765c_5733fc02d4546d845733@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email3@factory.com (7.8ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email3@factory.com
+Message-ID: <524c59353b68a_5733fc02d4546d84585e@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email4@factory.com (7.7ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email4@factory.com
+Message-ID: <524c59353f593_5733fc02d4546d845911@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ 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 (7.8ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email5@factory.com
+Message-ID: <524c593543558_5733fc02d4546d8460e4@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email6@factory.com (7.7ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email6@factory.com
+Message-ID: <524c593547453_5733fc02d4546d84612@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email7@factory.com (7.8ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email7@factory.com
+Message-ID: <524c59354b300_5733fc02d4546d84629a@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ 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.8ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email8@factory.com
+Message-ID: <524c59354f1fe_5733fc02d4546d84631e@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email9@factory.com (7.7ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email9@factory.com
+Message-ID: <524c59355306e_5733fc02d4546d84646c@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
+
+Sent mail to email10@factory.com (7.8ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email10@factory.com
+Message-ID: <524c593556fd6_5733fc02d4546d84657f@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ 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 (7.7ms)
+Date: Wed, 02 Oct 2013 19:34:45 +0200
+From: GotFixed Notifications <noreply@saunier.me>
+To: email11@factory.com
+Message-ID: <524c59355ae7e_5733fc02d4546d846626@Cb.local.mail>
+Subject: [Fixed] A very bad issue...
+Mime-Version: 1.0
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: 7bit
+
+Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
+
+The following variables are available: @issue and @user.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.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.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[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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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 (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.8ms)[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.3ms)[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.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
+ [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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.2ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.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[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 1.4ms)
+ [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.1ms)[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.7ms)[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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.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 5ms (Views: 0.6ms | ActiveRecord: 0.5ms)
+ [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.1ms)[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 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.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 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", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 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.6ms | 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.7ms)[0m rollback transaction