spec/dummy/log/test.log in got_fixed-0.0.6 vs spec/dummy/log/test.log in got_fixed-0.1.0

- old
+ new

@@ -15524,5 +15524,2767 @@ GotFixed::User Exists (0.0ms) SELECT 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 [["issue_id", 1]] Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] GotFixed::User Load (0.0ms) 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]]  (0.7ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (2.7ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/index.html.erb (0.3ms) +Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (1.1ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.3ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 1.1ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.7ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.5ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 21ms (Views: 3.1ms | ActiveRecord: 1.2ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.6ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.2ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.0ms) SELECT 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 [["issue_id", 1]] +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.3ms) 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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.3ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] + GotFixed::User Load (0.0ms) 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]] +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:18 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (1.2ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/index.html.erb (0.6ms) +Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (1.8ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.3ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.2ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.2ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 26ms (Views: 4.9ms | ActiveRecord: 1.2ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.6ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.0ms) SELECT 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 [["issue_id", 1]] +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.3ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] + GotFixed::User Load (0.0ms) 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]] +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:27:44 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) 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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:27:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:27:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (3.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] + GotFixed::User Load (0.2ms) 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]] + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.9ms) + +Sent mail to email1@factory.com (14.7ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email1@factory.com +Message-ID: <524d39a87920e_327c3fc1fd0546d89908e@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 2]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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.2ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email2@factory.com +Message-ID: <524d39a87e27d_327c3fc1fd0546d899130@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 3]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email3@factory.com (8.3ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email3@factory.com +Message-ID: <524d39a882b5a_327c3fc1fd0546d89921e@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 4]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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 (8.0ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email4@factory.com +Message-ID: <524d39a8873ce_327c3fc1fd0546d899388@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 5]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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 email5@factory.com (8.0ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email5@factory.com +Message-ID: <524d39a88bc3a_327c3fc1fd0546d8994a4@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 6]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email6@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email6@factory.com +Message-ID: <524d39a890382_327c3fc1fd0546d89952c@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 7]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email7@factory.com (8.1ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email7@factory.com +Message-ID: <524d39a894a5a_327c3fc1fd0546d8996b1@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 8]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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 email8@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email8@factory.com +Message-ID: <524d39a89923a_327c3fc1fd0546d8997ad@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 9]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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.9ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email9@factory.com +Message-ID: <524d39a89d72a_327c3fc1fd0546d89987f@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 10]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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.6ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email10@factory.com +Message-ID: <524d39a8a1d31_327c3fc1fd0546d899921@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (2.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] + GotFixed::User Load (0.0ms) 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]] + GotFixed::User Load (0.0ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email11@factory.com (8.5ms) +Date: Thu, 03 Oct 2013 11:32:24 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email11@factory.com +Message-ID: <524d39a8a952f_327c3fc1fd0546d81000d9@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.3ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.0ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.6ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/subscribe.js.erb (0.4ms) +Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.3ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.2ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 +  (0.2ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.9ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 03 Oct 2013 09:32:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.1ms) 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 +  (0.1ms) rollback transaction +  (0.3ms) begin transaction + GotFixed::Issue Load (0.1ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) 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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (2.8ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.7ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.2ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 (58.6ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email1@factory.com +Message-ID: <524d39b2a5796_32d43fd0518546dc18459@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] + GotFixed::User Load (0.0ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 (7.9ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email2@factory.com +Message-ID: <524d39b2c1a53_32d43fd0518546dc185a1@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 2]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + 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 (8.3ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email3@factory.com +Message-ID: <524d39b2c6008_32d43fd0518546dc18668@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 3]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email4@factory.com (8.1ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email4@factory.com +Message-ID: <524d39b2ca9a4_32d43fd0518546dc18772@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 4]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email5@factory.com (8.1ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email5@factory.com +Message-ID: <524d39b2cf2ba_32d43fd0518546dc188ee@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 5]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email6@factory.com (8.0ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email6@factory.com +Message-ID: <524d39b2d3e44_32d43fd0518546dc189e2@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 6]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email7@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email7@factory.com +Message-ID: <524d39b2d8456_32d43fd0518546dc1901b@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 7]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email8@factory.com (7.7ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email8@factory.com +Message-ID: <524d39b2dca15_32d43fd0518546dc191bc@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 8]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email9@factory.com (7.7ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email9@factory.com +Message-ID: <524d39b2e0ee2_32d43fd0518546dc19227@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 9]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email10@factory.com (8.2ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email10@factory.com +Message-ID: <524d39b2e543d_32d43fd0518546dc193c0@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 10]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email11@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 11:32:34 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email11@factory.com +Message-ID: <524d39b2e9d67_32d43fd0518546dc1943b@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:34 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML +Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.2ms) SELECT 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 [["issue_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 +  (0.2ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 11ms (Views: 3.6ms | ActiveRecord: 0.9ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 09:32:35 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.2ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.6ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (5.0ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.3ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] + GotFixed::User Load (0.2ms) 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]] + GotFixed::User Load (0.2ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.9ms) + +Sent mail to email1@factory.com (14.9ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email1@factory.com +Message-ID: <524d6837953ac_6cef3fee754546d069c@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 2]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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.2ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email2@factory.com +Message-ID: <524d68379a004_6cef3fee754546d0774@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 3]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email3@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email3@factory.com +Message-ID: <524d68379e770_6cef3fee754546d0885@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 4]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email4@factory.com (8.1ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email4@factory.com +Message-ID: <524d6837a30f4_6cef3fee754546d09b3@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 5]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email5@factory.com (8.2ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email5@factory.com +Message-ID: <524d6837a7e67_6cef3fee754546d0108a@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 6]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email6@factory.com (7.8ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email6@factory.com +Message-ID: <524d6837acb3a_6cef3fee754546d0114@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 7]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email7@factory.com (7.9ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email7@factory.com +Message-ID: <524d6837b10ef_6cef3fee754546d012c7@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 8]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email8@factory.com (7.7ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email8@factory.com +Message-ID: <524d6837b5824_6cef3fee754546d01397@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 9]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email9@factory.com (8.3ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email9@factory.com +Message-ID: <524d6837b9c77_6cef3fee754546d0149d@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 10]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email10@factory.com (11.9ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email10@factory.com +Message-ID: <524d6837be385_6cef3fee754546d0159@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] + GotFixed::User Load (0.0ms) 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]] + GotFixed::User Load (0.0ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email11@factory.com (8.0ms) +Date: Thu, 03 Oct 2013 14:51:03 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email11@factory.com +Message-ID: <524d6837c64df_6cef3fee754546d016e3@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.4ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) 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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.2ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.3ms) SELECT 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 [["issue_id", 1]] + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/subscribe.js.erb (0.4ms) +Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.6ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.0ms) SELECT 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 [["issue_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.6ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.9ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.8ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 03 Oct 2013 12:51:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML +Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (4.0ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.3ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.7ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] + GotFixed::User Load (0.2ms) 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]] + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.9ms) + +Sent mail to email1@factory.com (14.8ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email1@factory.com +Message-ID: <52513af6620a4_5ddb3fcbf44546d846643@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] + GotFixed::User Load (0.0ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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.1ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email2@factory.com +Message-ID: <52513af67a53e_5ddb3fcbf44546d846740@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 2]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email3@factory.com (8.0ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email3@factory.com +Message-ID: <52513af67ecc7_5ddb3fcbf44546d84685@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 3]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email4@factory.com (13.0ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email4@factory.com +Message-ID: <52513af683a04_5ddb3fcbf44546d846967@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 4]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email5@factory.com (8.0ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email5@factory.com +Message-ID: <52513af689182_5ddb3fcbf44546d847029@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 5]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email6@factory.com (8.4ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email6@factory.com +Message-ID: <52513af68dbde_5ddb3fcbf44546d84711a@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 6]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email7@factory.com (8.0ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email7@factory.com +Message-ID: <52513af692814_5ddb3fcbf44546d847228@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 7]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email8@factory.com (8.2ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email8@factory.com +Message-ID: <52513af6971bf_5ddb3fcbf44546d84731e@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 8]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email9@factory.com (8.0ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email9@factory.com +Message-ID: <52513af69baf6_5ddb3fcbf44546d8474d1@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 9]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email10@factory.com (8.9ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email10@factory.com +Message-ID: <52513af6a06b3_5ddb3fcbf44546d8475a0@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 10]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["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 email11@factory.com (14.9ms) +Date: Sun, 06 Oct 2013 12:27:02 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email11@factory.com +Message-ID: <52513af6a523d_5ddb3fcbf44546d847611@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.0ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.7ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["title", "MyString"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#index as HTML +Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.7ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.5ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.2ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:27:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.2ms) 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 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (1.9ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["title", "MyString"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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/application (0.2ms) +Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.7ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 23ms (Views: 2.6ms | ActiveRecord: 1.5ms) + GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.0ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by GotFixed::IssuesController#subscribe as JS + Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"} + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]] + GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.6ms) + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::User Load (0.1ms) 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]] +  (0.9ms) rollback transaction +  (0.1ms) 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"}} + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.8ms) + GotFixed::Issue Exists (0.1ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + GotFixed::User Load (0.1ms) 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]] +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.5ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4) +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1 + SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1 + SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] + GotFixed::User Load (0.1ms) 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]] + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email1@factory.com (11.1ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email1@factory.com +Message-ID: <52513dbabcac6_6e9e3fdd0e0546d45831c@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 2]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email2@factory.com (8.3ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email2@factory.com +Message-ID: <52513dbac1888_6e9e3fdd0e0546d4584d0@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 3]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email3@factory.com (8.3ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email3@factory.com +Message-ID: <52513dbac61b6_6e9e3fdd0e0546d4585f6@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 4]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email4@factory.com (8.3ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email4@factory.com +Message-ID: <52513dbaca9bf_6e9e3fdd0e0546d458699@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 5]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email5@factory.com (8.0ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email5@factory.com +Message-ID: <52513dbacf3a3_6e9e3fdd0e0546d458787@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 6]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email6@factory.com (8.5ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email6@factory.com +Message-ID: <52513dbad3dd8_6e9e3fdd0e0546d45882a@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 7]] + GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email7@factory.com (8.1ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email7@factory.com +Message-ID: <52513dbae1f22_6e9e3fdd0e0546d4589fe@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 8]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email8@factory.com (8.1ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email8@factory.com +Message-ID: <52513dbae6672_6e9e3fdd0e0546d459065@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 9]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email9@factory.com (8.5ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email9@factory.com +Message-ID: <52513dbaeaee7_6e9e3fdd0e0546d4591c3@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. + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 10]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email10@factory.com (8.2ms) +Date: Sun, 06 Oct 2013 12:38:50 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email10@factory.com +Message-ID: <52513dbaef902_6e9e3fdd0e0546d459296@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (2.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1 + SQL (0.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["vendor_id", "iWnj89"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1 + SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Sun, 06 Oct 2013 10:38:50 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 +  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1) +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::Issue Exists (0.1ms) 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 + SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Sun, 06 Oct 2013 10:38:51 UTC +00:00]] + GotFixed::User Load (0.0ms) 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]] + GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."id" = ? LIMIT 1 [["id", 1]] + GotFixed::Issue Load (0.0ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", 1]] + +Sent mail to email11@factory.com (8.2ms) +Date: Sun, 06 Oct 2013 12:38:51 +0200 +From: GotFixed Notifications <noreply@saunier.me> +To: email11@factory.com +Message-ID: <52513dbb40e9_6e9e3fdd0e0546d4593d6@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. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 + SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 06 Oct 2013 10:38:51 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Sun, 06 Oct 2013 10:38:51 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.8ms) rollback transaction +  (0.1ms) begin transaction + GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.2ms) 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 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction + GotFixed::Issue Load (0.2ms) SELECT "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 +  (0.1ms) rollback transaction