hubstats 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODVjZjYxMzA2YjA5ZTVjMWRmNmE2ODQ0N2FlYzBjOTZkMDc3MDc4MQ==
4
+ MWYyZjlmNzg3MDZkYWMzYTMzYjliMDJmNTc2Mjc2YjgzNDRjZjJjZA==
5
5
  data.tar.gz: !binary |-
6
- NzQxZWM1NTcxZTI5ZTVjMGU4MDRlODYwMDViMDE2MDJiMjgxMTcxYQ==
6
+ NjA2ZTBlOTQyMjc1N2ViYTVlZjk4Zjg0ZjBhODk3NzAzMWQyYWRmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2E0ZTc3ODdiOGE0YTNmMDA0NWJhZmU0NjNjOTZkYWFmZDU0YzUyMzUyZjgz
10
- YWI4YjA0MTE3MDYwODllODM5MDhmYmE2ZjBhOTllYTFkZDUyNmFhNjQxMTJh
11
- YzhkMDM5ODc0M2ZlODI2ZWIxNTIzZjcyMTRlMDk0OTA0ODAzMTg=
9
+ YjliZjUzOWNkNDlhNDY0ZTE0ZDRmMWZiY2M5ZTI1ZWM3NzNiZmE0OWNjOTlk
10
+ MzJmNWM2OGRhNGU0MDAyMzdjNmE3YmM1ZTc2OGQ4YTNmOWZmN2ZiMGM5Y2Zi
11
+ MmNiMjY1MTc3MTlmZGY4NzBhZTI4ZGYxYWY0ZmVjZDg3OGMwYTY=
12
12
  data.tar.gz: !binary |-
13
- ZTMwOTkzZWExZjU0ZmM4NzAzYmJjNzNlMGZhYTgyNzBmYjZmZjhkMjY2Mzlj
14
- NDFkMzY3ZmJkMmRiMGMwOWE1NDM0ZmVhNmEyY2ZjZjI2MTFhNmFiNDYzMGVi
15
- NTMxNjJjM2IwY2RlZjMzMWExMzc3OTNkZjJjOWFhNjI2MWM4NTY=
13
+ N2NhOWJkMjczNmYxNjFlNWY2YmRlZTVmZWUyZjdiZjUzYmZhN2NhZTcwYmI0
14
+ NGUwM2E3NDEzMWE4ZDhjN2VjN2Y5YjMzMTIyOWQwYTkwMzZkZmIzNjg3YWQ2
15
+ MmZmNjYxNTU0ZWJlM2JiMzRjZjJhMjdiN2U0MTQ3NzE4MTUyYmQ=
data/lib/hub_helper.rb CHANGED
@@ -11,8 +11,8 @@ module HubHelper
11
11
  end
12
12
  end
13
13
 
14
- def self.comment_setup(comment, repo, kind)
15
- comment[:repo_id] = repo.id
14
+ def self.comment_setup(comment, repo_id, kind)
15
+ comment[:repo_id] = repo_id
16
16
  comment[:pull_number] = get_pull_number(comment)
17
17
  comment[:kind] = kind
18
18
  return comment
@@ -37,7 +37,6 @@ module Hubstats
37
37
 
38
38
  def self.wait_limit(grab_size,rate_limit)
39
39
  if rate_limit.remaining < grab_size
40
-
41
40
  puts "Hit Github rate limit, waiting #{Time.at(rate_limit.resets_in).utc.strftime("%H:%M:%S")} to get more"
42
41
  sleep(rate_limit.resets_in)
43
42
  end
@@ -59,15 +58,15 @@ module Hubstats
59
58
  def self.route(object, kind, repo_name = nil)
60
59
  if kind == "pulls/comments"
61
60
  repo = Hubstats::Repo.where(full_name: repo_name).first
62
- Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"PullRequest"))
61
+ Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"PullRequest"))
63
62
  elsif kind == "issues/comments"
64
63
  repo = Hubstats::Repo.where(full_name: repo_name).first
65
- Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"Issue"))
64
+ Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"Issue"))
66
65
  elsif kind == "comments"
67
66
  repo = Hubstats::Repo.where(full_name: repo_name).first
68
- Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"Commit"))
67
+ Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"Commit"))
69
68
  elsif kind == "pulls"
70
- Hubstats::PullRequest.create_or_update(pull_setup(object))
69
+ Hubstats::PullRequest.create_or_update(HubHelper.pull_setup(object))
71
70
  end
72
71
  end
73
72
  end
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -0,0 +1,40 @@
1
+ # This migration comes from hubstats (originally 20140604130339)
2
+ class CreateHubstatsPullRequests < ActiveRecord::Migration
3
+ def change
4
+ create_table :hubstats_pull_requests do |t|
5
+ t.integer :id
6
+ t.string :url
7
+ t.string :html_url
8
+ t.string :diff_url
9
+ t.string :patch_url
10
+ t.string :issue_url
11
+ t.string :commits_url
12
+ t.string :review_comments_url
13
+ t.string :review_comment_url
14
+ t.string :comments_url
15
+ t.string :statuses_url
16
+ t.integer :number
17
+ t.string :state
18
+ t.string :title
19
+ t.string :body
20
+ t.string :created_at
21
+ t.string :updated_at
22
+ t.string :closed_at
23
+ t.string :merged_at
24
+ t.string :merge_commit_sha
25
+ t.string :merged
26
+ t.string :mergeable
27
+ t.integer :comments
28
+ t.integer :commits
29
+ t.integer :additions
30
+ t.integer :deletions
31
+ t.integer :changed_files
32
+ t.belongs_to :user
33
+ t.belongs_to :repo
34
+ t.timestamps
35
+ end
36
+
37
+ add_index :hubstats_pull_requests, :user_id
38
+ add_index :hubstats_pull_requests, :repo_id
39
+ end
40
+ end
@@ -0,0 +1,25 @@
1
+ # This migration comes from hubstats (originally 20140604130457)
2
+ class CreateHubstatsUsers < ActiveRecord::Migration
3
+ def change
4
+ create_table :hubstats_users do |t|
5
+ t.string :login
6
+ t.integer :id
7
+ t.string :avatar_url
8
+ t.string :gravatar_id
9
+ t.string :url
10
+ t.string :html_url
11
+ t.string :followers_url
12
+ t.string :following_url
13
+ t.string :gists_url
14
+ t.string :starred_url
15
+ t.string :subscriptions_url
16
+ t.string :organizations_url
17
+ t.string :repos_url
18
+ t.string :events_url
19
+ t.string :received_events_url
20
+ t.string :role
21
+ t.boolean :site_admin
22
+ t.timestamps
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,27 @@
1
+ # This migration comes from hubstats (originally 20140604130504)
2
+ class CreateHubstatsComments < ActiveRecord::Migration
3
+ def change
4
+ create_table :hubstats_comments do |t|
5
+ t.integer :id
6
+ t.string :html_url
7
+ t.string :url
8
+ t.string :pull_request_url
9
+ t.string :diff_hunk
10
+ t.integer :path
11
+ t.integer :position
12
+ t.string :original_position
13
+ t.string :line
14
+ t.string :commit_id
15
+ t.string :original_commit_id
16
+ t.string :body
17
+ t.string :kind
18
+ t.belongs_to :user
19
+ t.belongs_to :pull_request
20
+ t.belongs_to :repo
21
+ t.timestamps
22
+ end
23
+
24
+ add_index :hubstats_comments, :user_id
25
+ add_index :hubstats_comments, :pull_request_id
26
+ end
27
+ end
@@ -0,0 +1,48 @@
1
+ # This migration comes from hubstats (originally 20140604130550)
2
+ class CreateHubstatsRepos < ActiveRecord::Migration
3
+ def change
4
+ create_table :hubstats_repos do |t|
5
+ t.integer :id
6
+ t.string :name
7
+ t.string :full_name
8
+ t.string :homepage
9
+ t.string :language
10
+ t.string :description
11
+ t.string :default_branch
12
+ t.string :url
13
+ t.string :html_url
14
+ t.string :clone_url
15
+ t.string :git_url
16
+ t.string :ssh_url
17
+ t.string :svn_url
18
+ t.string :mirror_url
19
+ t.string :hooks_url
20
+ t.string :issue_events_url
21
+ t.string :events_url
22
+ t.string :contributors_url
23
+ t.string :git_commits_url
24
+ t.string :issue_comment_url
25
+ t.string :merges_url
26
+ t.string :issues_url
27
+ t.string :pulls_url
28
+ t.string :labels_url
29
+ t.integer :forks_count
30
+ t.integer :stargazers_count
31
+ t.integer :watches_count
32
+ t.integer :size
33
+ t.integer :open_issues_count
34
+ t.boolean :has_issues
35
+ t.boolean :has_wiki
36
+ t.boolean :has_downloads
37
+ t.boolean :private
38
+ t.boolean :fork
39
+ t.datetime :pushed_at
40
+ t.datetime :created_at
41
+ t.datetime :updated_at
42
+ t.belongs_to :owner
43
+ t.timestamps
44
+ end
45
+
46
+ add_index :hubstats_repos, :owner_id
47
+ end
48
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20140604130550) do
14
+ ActiveRecord::Schema.define(:version => 20140702142617) do
15
15
 
16
16
  create_table "hubstats_comments", :force => true do |t|
17
17
  t.string "html_url"
@@ -2963870,3 +2963870,3467 @@ Served asset /hubstats/users.js - 304 Not Modified (0ms)
2963870
2963870
 
2963871
2963871
  Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 16:46:55 -0500
2963872
2963872
  Served asset /hubstats/application.js - 304 Not Modified (0ms)
2963873
+
2963874
+
2963875
+ Started GET "/hubstats/" for 127.0.0.1 at 2014-07-01 17:37:28 -0500
2963876
+ Processing by Hubstats::ReposController#index as HTML
2963877
+ Hubstats::User Load (51.3ms) SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC
2963878
+  (3.7ms) SELECT COUNT(*) FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963879
+  (8.3ms) SELECT COUNT(*) FROM `hubstats_comments` WHERE (created_at > '2004-07-13')
2963880
+  (4.7ms) SELECT AVG(`hubstats_pull_requests`.`additions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963881
+  (4.3ms) SELECT AVG(`hubstats_pull_requests`.`deletions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963882
+  (3.5ms) SELECT SUM(`hubstats_pull_requests`.`additions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963883
+  (3.1ms) SELECT SUM(`hubstats_pull_requests`.`deletions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963884
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_quick_stats.html.erb (0.1ms)
2963885
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE (updated_at > '2004-07-13') ORDER BY updated_at DESC LIMIT 20
2963886
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_repos_table.html.erb (1.7ms)
2963887
+ Hubstats::User Load (48.5ms) SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC LIMIT 20
2963888
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_users_table.html.erb (52.8ms)
2963889
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/repos/index.html.erb within layouts/hubstats/application (56.0ms)
2963890
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/partials/_header.html.erb (0.2ms)
2963891
+ Completed 200 OK in 151.9ms (Views: 13.1ms | ActiveRecord: 127.6ms)
2963892
+
2963893
+
2963894
+ Started GET "/assets/hubstats/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963895
+ Served asset /hubstats/bootstrap.css - 304 Not Modified (0ms)
2963896
+
2963897
+
2963898
+ Started GET "/assets/hubstats/application.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963899
+ Served asset /hubstats/application.css - 304 Not Modified (0ms)
2963900
+
2963901
+
2963902
+ Started GET "/assets/hubstats/events.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963903
+ Served asset /hubstats/events.css - 304 Not Modified (0ms)
2963904
+
2963905
+
2963906
+ Started GET "/assets/hubstats/pull_requests.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963907
+ Served asset /hubstats/pull_requests.css - 304 Not Modified (0ms)
2963908
+
2963909
+
2963910
+ Started GET "/assets/hubstats/repos.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963911
+ Served asset /hubstats/repos.css - 304 Not Modified (0ms)
2963912
+
2963913
+
2963914
+ Started GET "/assets/hubstats/users.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963915
+ Served asset /hubstats/users.css - 304 Not Modified (0ms)
2963916
+
2963917
+
2963918
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963919
+ Served asset /jquery.js - 304 Not Modified (0ms)
2963920
+
2963921
+
2963922
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963923
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2963924
+
2963925
+
2963926
+ Started GET "/assets/hubstats/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963927
+ Served asset /hubstats/bootstrap.js - 304 Not Modified (0ms)
2963928
+
2963929
+
2963930
+ Started GET "/assets/hubstats/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963931
+ Served asset /hubstats/bootstrap.min.js - 304 Not Modified (0ms)
2963932
+
2963933
+
2963934
+ Started GET "/assets/hubstats/events.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963935
+ Served asset /hubstats/events.js - 304 Not Modified (0ms)
2963936
+
2963937
+
2963938
+ Started GET "/assets/hubstats/pull_requests.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963939
+ Served asset /hubstats/pull_requests.js - 304 Not Modified (0ms)
2963940
+
2963941
+
2963942
+ Started GET "/assets/hubstats/repos.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963943
+ Served asset /hubstats/repos.js - 304 Not Modified (0ms)
2963944
+
2963945
+
2963946
+ Started GET "/assets/hubstats/users.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963947
+ Served asset /hubstats/users.js - 304 Not Modified (0ms)
2963948
+
2963949
+
2963950
+ Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
2963951
+ Served asset /hubstats/application.js - 304 Not Modified (0ms)
2963952
+
2963953
+
2963954
+ Started GET "/hubstats" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963955
+ Processing by Hubstats::ReposController#index as HTML
2963956
+ Hubstats::User Load (57.3ms) SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC
2963957
+  (3.0ms) SELECT COUNT(*) FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963958
+  (9.2ms) SELECT COUNT(*) FROM `hubstats_comments` WHERE (created_at > '2004-07-13')
2963959
+  (3.6ms) SELECT AVG(`hubstats_pull_requests`.`additions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963960
+  (3.5ms) SELECT AVG(`hubstats_pull_requests`.`deletions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963961
+  (3.9ms) SELECT SUM(`hubstats_pull_requests`.`additions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963962
+  (3.4ms) SELECT SUM(`hubstats_pull_requests`.`deletions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
2963963
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_quick_stats.html.erb (0.1ms)
2963964
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE (updated_at > '2004-07-13') ORDER BY updated_at DESC LIMIT 20
2963965
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_repos_table.html.erb (1.5ms)
2963966
+ Hubstats::User Load (46.5ms) SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC LIMIT 20
2963967
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_users_table.html.erb (79.9ms)
2963968
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/repos/index.html.erb within layouts/hubstats/application (83.0ms)
2963969
+ Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/partials/_header.html.erb (0.2ms)
2963970
+ Completed 200 OK in 181.5ms (Views: 41.4ms | ActiveRecord: 130.6ms)
2963971
+
2963972
+
2963973
+ Started GET "/assets/hubstats/application.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963974
+ Served asset /hubstats/application.css - 304 Not Modified (0ms)
2963975
+
2963976
+
2963977
+ Started GET "/assets/hubstats/repos.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963978
+ Served asset /hubstats/repos.css - 304 Not Modified (0ms)
2963979
+
2963980
+
2963981
+ Started GET "/assets/hubstats/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963982
+ Served asset /hubstats/bootstrap.css - 304 Not Modified (0ms)
2963983
+
2963984
+
2963985
+ Started GET "/assets/hubstats/events.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963986
+ Served asset /hubstats/events.css - 304 Not Modified (0ms)
2963987
+
2963988
+
2963989
+ Started GET "/assets/hubstats/pull_requests.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963990
+ Served asset /hubstats/pull_requests.css - 304 Not Modified (0ms)
2963991
+
2963992
+
2963993
+ Started GET "/assets/hubstats/users.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963994
+ Served asset /hubstats/users.css - 304 Not Modified (0ms)
2963995
+
2963996
+
2963997
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2963998
+ Served asset /jquery.js - 304 Not Modified (0ms)
2963999
+
2964000
+
2964001
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964002
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2964003
+
2964004
+
2964005
+ Started GET "/assets/hubstats/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964006
+ Served asset /hubstats/bootstrap.js - 304 Not Modified (0ms)
2964007
+
2964008
+
2964009
+ Started GET "/assets/hubstats/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964010
+ Served asset /hubstats/bootstrap.min.js - 304 Not Modified (0ms)
2964011
+
2964012
+
2964013
+ Started GET "/assets/hubstats/events.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964014
+ Served asset /hubstats/events.js - 304 Not Modified (0ms)
2964015
+
2964016
+
2964017
+ Started GET "/assets/hubstats/pull_requests.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964018
+ Served asset /hubstats/pull_requests.js - 304 Not Modified (0ms)
2964019
+
2964020
+
2964021
+ Started GET "/assets/hubstats/repos.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964022
+ Served asset /hubstats/repos.js - 304 Not Modified (0ms)
2964023
+
2964024
+
2964025
+ Started GET "/assets/hubstats/users.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964026
+ Served asset /hubstats/users.js - 304 Not Modified (0ms)
2964027
+
2964028
+
2964029
+ Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
2964030
+ Served asset /hubstats/application.js - 304 Not Modified (0ms)
2964031
+ Connecting to database specified by database.yml
2964032
+  (35.2ms) DROP DATABASE IF EXISTS `hubstats_development`
2964033
+  (0.3ms) DROP DATABASE IF EXISTS `hubstats_test`
2964034
+ Connecting to database specified by database.yml
2964035
+ Connecting to database specified by database.yml
2964036
+  (82.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2964037
+  (189.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2964038
+  (1.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964039
+ Mysql2::Error: Table 'hubstats_development.hubstats_repos' doesn't exist: SHOW FULL FIELDS FROM `hubstats_repos`
2964040
+ Connecting to database specified by database.yml
2964041
+  (1.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964042
+ Connecting to database specified by database.yml
2964043
+  (81.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2964044
+  (127.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2964045
+  (1.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964046
+ Migrating to CreateHubstatsPullRequests (20140702142614)
2964047
+  (112.4ms) CREATE TABLE `hubstats_pull_requests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` varchar(255), `html_url` varchar(255), `diff_url` varchar(255), `patch_url` varchar(255), `issue_url` varchar(255), `commits_url` varchar(255), `review_comments_url` varchar(255), `review_comment_url` varchar(255), `comments_url` varchar(255), `statuses_url` varchar(255), `number` int(11), `state` varchar(255), `title` varchar(255), `body` varchar(255), `created_at` varchar(255) NOT NULL, `updated_at` varchar(255) NOT NULL, `closed_at` varchar(255), `merged_at` varchar(255), `merge_commit_sha` varchar(255), `merged` varchar(255), `mergeable` varchar(255), `comments` int(11), `commits` int(11), `additions` int(11), `deletions` int(11), `changed_files` int(11), `user_id` int(11), `repo_id` int(11)) ENGINE=InnoDB
2964048
+  (134.0ms) CREATE INDEX `index_hubstats_pull_requests_on_user_id` ON `hubstats_pull_requests` (`user_id`)
2964049
+  (112.7ms) CREATE INDEX `index_hubstats_pull_requests_on_repo_id` ON `hubstats_pull_requests` (`repo_id`)
2964050
+  (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140702142614')
2964051
+ Migrating to CreateHubstatsUsers (20140702142615)
2964052
+  (138.3ms) CREATE TABLE `hubstats_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `avatar_url` varchar(255), `gravatar_id` varchar(255), `url` varchar(255), `html_url` varchar(255), `followers_url` varchar(255), `following_url` varchar(255), `gists_url` varchar(255), `starred_url` varchar(255), `subscriptions_url` varchar(255), `organizations_url` varchar(255), `repos_url` varchar(255), `events_url` varchar(255), `received_events_url` varchar(255), `role` varchar(255), `site_admin` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2964053
+  (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140702142615')
2964054
+ Migrating to CreateHubstatsComments (20140702142616)
2964055
+  (141.0ms) CREATE TABLE `hubstats_comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `html_url` varchar(255), `url` varchar(255), `pull_request_url` varchar(255), `diff_hunk` varchar(255), `path` int(11), `position` int(11), `original_position` varchar(255), `line` varchar(255), `commit_id` varchar(255), `original_commit_id` varchar(255), `body` varchar(255), `kind` varchar(255), `user_id` int(11), `pull_request_id` int(11), `repo_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2964056
+  (113.3ms) CREATE INDEX `index_hubstats_comments_on_user_id` ON `hubstats_comments` (`user_id`)
2964057
+  (112.1ms) CREATE INDEX `index_hubstats_comments_on_pull_request_id` ON `hubstats_comments` (`pull_request_id`)
2964058
+  (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140702142616')
2964059
+ Migrating to CreateHubstatsRepos (20140702142617)
2964060
+  (120.0ms) CREATE TABLE `hubstats_repos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `full_name` varchar(255), `homepage` varchar(255), `language` varchar(255), `description` varchar(255), `default_branch` varchar(255), `url` varchar(255), `html_url` varchar(255), `clone_url` varchar(255), `git_url` varchar(255), `ssh_url` varchar(255), `svn_url` varchar(255), `mirror_url` varchar(255), `hooks_url` varchar(255), `issue_events_url` varchar(255), `events_url` varchar(255), `contributors_url` varchar(255), `git_commits_url` varchar(255), `issue_comment_url` varchar(255), `merges_url` varchar(255), `issues_url` varchar(255), `pulls_url` varchar(255), `labels_url` varchar(255), `forks_count` int(11), `stargazers_count` int(11), `watches_count` int(11), `size` int(11), `open_issues_count` int(11), `has_issues` tinyint(1), `has_wiki` tinyint(1), `has_downloads` tinyint(1), `private` tinyint(1), `fork` tinyint(1), `pushed_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `owner_id` int(11)) ENGINE=InnoDB
2964061
+  (136.3ms) CREATE INDEX `index_hubstats_repos_on_owner_id` ON `hubstats_repos` (`owner_id`)
2964062
+  (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140702142617')
2964063
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964064
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964065
+  (0.1ms) BEGIN
2964066
+ Hubstats::User Exists (0.3ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 3728684 LIMIT 1
2964067
+ SQL (0.3ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/3728684?', '2014-07-02 14:26:45', 'https://api.github.com/users/sportngin/events{/privacy}', 'https://api.github.com/users/sportngin/followers', 'https://api.github.com/users/sportngin/following{/other_user}', 'https://api.github.com/users/sportngin/gists{/gist_id}', '7ea1840324741122e771fe7e3f6fe9bd', 'https://github.com/sportngin', 3728684, 'sportngin', 'https://api.github.com/users/sportngin/orgs', 'https://api.github.com/users/sportngin/received_events', 'https://api.github.com/users/sportngin/repos', NULL, 0, 'https://api.github.com/users/sportngin/starred{/owner}{/repo}', 'https://api.github.com/users/sportngin/subscriptions', '2014-07-02 14:26:45', 'https://api.github.com/users/sportngin')
2964068
+  (0.5ms) COMMIT
2964069
+  (0.1ms) BEGIN
2964070
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964071
+  (0.1ms) COMMIT
2964072
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964073
+  (0.1ms) BEGIN
2964074
+ SQL (0.4ms) INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES ('https://github.com/sportngin/hubstats.git', 'https://api.github.com/repos/sportngin/hubstats/contributors', '2014-05-27 18:41:53', 'master', 'Gamification of Github', 'https://api.github.com/repos/sportngin/hubstats/events', 0, 0, 'sportngin/hubstats', 'https://api.github.com/repos/sportngin/hubstats/git/commits{/sha}', 'git://github.com/sportngin/hubstats.git', 1, 1, 1, NULL, 'https://api.github.com/repos/sportngin/hubstats/hooks', 'https://github.com/sportngin/hubstats', 20231003, 'https://api.github.com/repos/sportngin/hubstats/issues/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/issues/events{/number}', 'https://api.github.com/repos/sportngin/hubstats/issues{/number}', 'https://api.github.com/repos/sportngin/hubstats/labels{/name}', 'Ruby', 'https://api.github.com/repos/sportngin/hubstats/merges', NULL, 'hubstats', 1, 3728684, 0, 'https://api.github.com/repos/sportngin/hubstats/pulls{/number}', '2014-07-01 22:10:28', 1248, 'git@github.com:sportngin/hubstats.git', 0, 'https://github.com/sportngin/hubstats', '2014-06-26 20:58:33', 'https://api.github.com/repos/sportngin/hubstats', NULL)
2964075
+  (0.6ms) COMMIT
2964076
+  (0.2ms) BEGIN
2964077
+  (0.1ms) COMMIT
2964078
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964079
+  (0.1ms) BEGIN
2964080
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 2453875 LIMIT 1
2964081
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/2453875?', '2014-07-02 14:26:46', 'https://api.github.com/users/elliothursh/events{/privacy}', 'https://api.github.com/users/elliothursh/followers', 'https://api.github.com/users/elliothursh/following{/other_user}', 'https://api.github.com/users/elliothursh/gists{/gist_id}', '9216098977456848b3c792465f604452', 'https://github.com/elliothursh', 2453875, 'elliothursh', 'https://api.github.com/users/elliothursh/orgs', 'https://api.github.com/users/elliothursh/received_events', 'https://api.github.com/users/elliothursh/repos', NULL, 0, 'https://api.github.com/users/elliothursh/starred{/owner}{/repo}', 'https://api.github.com/users/elliothursh/subscriptions', '2014-07-02 14:26:46', 'https://api.github.com/users/elliothursh')
2964082
+  (0.7ms) COMMIT
2964083
+  (0.1ms) BEGIN
2964084
+ Hubstats::User Exists (0.3ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964085
+  (0.2ms) COMMIT
2964086
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2964087
+  (0.1ms) BEGIN
2964088
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 174227 LIMIT 1
2964089
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/174227?', '2014-07-02 14:26:46', 'https://api.github.com/users/ehlertij/events{/privacy}', 'https://api.github.com/users/ehlertij/followers', 'https://api.github.com/users/ehlertij/following{/other_user}', 'https://api.github.com/users/ehlertij/gists{/gist_id}', '11c1fcb84ab1fdf769cbc3f7c8466528', 'https://github.com/ehlertij', 174227, 'ehlertij', 'https://api.github.com/users/ehlertij/orgs', 'https://api.github.com/users/ehlertij/received_events', 'https://api.github.com/users/ehlertij/repos', NULL, 0, 'https://api.github.com/users/ehlertij/starred{/owner}{/repo}', 'https://api.github.com/users/ehlertij/subscriptions', '2014-07-02 14:26:46', 'https://api.github.com/users/ehlertij')
2964090
+  (0.5ms) COMMIT
2964091
+  (0.1ms) BEGIN
2964092
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2964093
+  (0.1ms) COMMIT
2964094
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964095
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964096
+  (0.1ms) BEGIN
2964097
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964098
+  (0.1ms) COMMIT
2964099
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964100
+  (0.1ms) BEGIN
2964101
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964102
+  (0.1ms) COMMIT
2964103
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964104
+  (0.1ms) BEGIN
2964105
+  (0.1ms) COMMIT
2964106
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
2964107
+  (0.1ms) BEGIN
2964108
+ SQL (0.3ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', NULL, '2014-07-01 21:02:54', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/17/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/17/commits', '2014-07-01 19:22:25', NULL, 'https://github.com/sportngin/hubstats/pull/17.diff', 'https://github.com/sportngin/hubstats/pull/17', 17849812, 'https://api.github.com/repos/sportngin/hubstats/issues/17', '4e503a53a50d2ed25f5fedb1af86d4227b405e3c', NULL, NULL, '2014-07-01 21:02:54', 17, 'https://github.com/sportngin/hubstats/pull/17.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/17/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/c766e7743c8e0e1105e1191f29e06a50aff6c1ab', 'Average Size of Pulls', '2014-07-01 21:02:54', 'https://api.github.com/repos/sportngin/hubstats/pulls/17', 2453875)
2964109
+  (0.4ms) COMMIT
2964110
+  (0.1ms) BEGIN
2964111
+  (0.1ms) COMMIT
2964112
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964113
+  (0.1ms) BEGIN
2964114
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964115
+  (0.1ms) COMMIT
2964116
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964117
+  (0.1ms) BEGIN
2964118
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964119
+  (0.1ms) COMMIT
2964120
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964121
+  (0.1ms) BEGIN
2964122
+  (0.1ms) COMMIT
2964123
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1
2964124
+  (0.1ms) BEGIN
2964125
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', NULL, '2014-07-01 21:02:33', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/16/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/16/commits', '2014-07-01 15:40:39', NULL, 'https://github.com/sportngin/hubstats/pull/16.diff', 'https://github.com/sportngin/hubstats/pull/16', 17837873, 'https://api.github.com/repos/sportngin/hubstats/issues/16', 'abc9d81a5e240d9da9755ee4c85a4f73b2bf6961', NULL, NULL, '2014-07-01 21:02:33', 16, 'https://github.com/sportngin/hubstats/pull/16.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/16/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/d2b4ffcbfb8d06a86fc07ad86e3ffd7739b32afa', 'Inline Processing', '2014-07-01 21:02:33', 'https://api.github.com/repos/sportngin/hubstats/pulls/16', 2453875)
2964126
+  (0.4ms) COMMIT
2964127
+  (0.1ms) BEGIN
2964128
+  (0.1ms) COMMIT
2964129
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964130
+  (0.1ms) BEGIN
2964131
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964132
+  (0.1ms) COMMIT
2964133
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964134
+  (0.1ms) BEGIN
2964135
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964136
+  (0.1ms) COMMIT
2964137
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964138
+  (0.1ms) BEGIN
2964139
+  (0.1ms) COMMIT
2964140
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
2964141
+  (0.1ms) BEGIN
2964142
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', NULL, '2014-07-01 15:34:53', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/15/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/15/commits', '2014-06-30 16:48:13', NULL, 'https://github.com/sportngin/hubstats/pull/15.diff', 'https://github.com/sportngin/hubstats/pull/15', 17784161, 'https://api.github.com/repos/sportngin/hubstats/issues/15', '723c5ac49564c71b23e7a35bacfbd9ee6866159e', NULL, NULL, '2014-07-01 15:34:53', 15, 'https://github.com/sportngin/hubstats/pull/15.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/15/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/8f12c1de442d0be63e00845204309608a76e103e', 'Fixed Query and Cookie issue', '2014-07-01 15:34:53', 'https://api.github.com/repos/sportngin/hubstats/pulls/15', 2453875)
2964143
+  (0.4ms) COMMIT
2964144
+  (0.1ms) BEGIN
2964145
+  (0.1ms) COMMIT
2964146
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964147
+  (0.1ms) BEGIN
2964148
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964149
+  (0.1ms) COMMIT
2964150
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964151
+  (0.1ms) BEGIN
2964152
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964153
+  (0.1ms) COMMIT
2964154
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964155
+  (0.1ms) BEGIN
2964156
+  (0.1ms) COMMIT
2964157
+ Hubstats::PullRequest Load (0.1ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1
2964158
+  (0.1ms) BEGIN
2964159
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', NULL, '2014-06-24 15:25:35', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/14/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/14/commits', '2014-06-24 14:54:34', NULL, 'https://github.com/sportngin/hubstats/pull/14.diff', 'https://github.com/sportngin/hubstats/pull/14', 17536385, 'https://api.github.com/repos/sportngin/hubstats/issues/14', '44882f9c7b4d96e98494eb9ae91b99256a07d284', NULL, NULL, '2014-06-24 15:25:35', 14, 'https://github.com/sportngin/hubstats/pull/14.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/14/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/e09564a139d7e39dfb52e9a2d4d6cc78168545eb', 'Fixing Gem', '2014-06-24 22:12:17', 'https://api.github.com/repos/sportngin/hubstats/pulls/14', 2453875)
2964160
+  (0.4ms) COMMIT
2964161
+  (0.1ms) BEGIN
2964162
+  (0.1ms) COMMIT
2964163
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964164
+  (0.1ms) BEGIN
2964165
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964166
+  (0.1ms) COMMIT
2964167
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964168
+  (0.1ms) BEGIN
2964169
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964170
+  (0.1ms) COMMIT
2964171
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964172
+  (0.1ms) BEGIN
2964173
+  (0.1ms) COMMIT
2964174
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
2964175
+  (0.1ms) BEGIN
2964176
+ SQL (0.3ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', NULL, '2014-06-23 21:54:29', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/13/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/13/commits', '2014-06-23 15:11:37', NULL, 'https://github.com/sportngin/hubstats/pull/13.diff', 'https://github.com/sportngin/hubstats/pull/13', 17479705, 'https://api.github.com/repos/sportngin/hubstats/issues/13', 'c5272f92864168941db4922c32c946c85bc12813', NULL, NULL, '2014-06-23 21:54:29', 13, 'https://github.com/sportngin/hubstats/pull/13.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/13/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/d9ddb73ca075c540b4b55eea2af203442735053f', 'Added pulls to event triggering', '2014-06-24 22:12:18', 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 2453875)
2964177
+  (0.4ms) COMMIT
2964178
+  (0.1ms) BEGIN
2964179
+  (0.1ms) COMMIT
2964180
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964181
+  (0.1ms) BEGIN
2964182
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964183
+  (0.1ms) COMMIT
2964184
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964185
+  (0.1ms) BEGIN
2964186
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964187
+  (0.1ms) COMMIT
2964188
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964189
+  (0.1ms) BEGIN
2964190
+  (0.1ms) COMMIT
2964191
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1
2964192
+  (0.1ms) BEGIN
2964193
+ SQL (0.3ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', NULL, '2014-06-20 21:44:59', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/12/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/12/commits', '2014-06-20 19:40:44', NULL, 'https://github.com/sportngin/hubstats/pull/12.diff', 'https://github.com/sportngin/hubstats/pull/12', 17423995, 'https://api.github.com/repos/sportngin/hubstats/issues/12', 'cbc5655267ee9bdd5d9130bfc3c8f30e4d9b0a8b', NULL, NULL, '2014-06-20 21:44:59', 12, 'https://github.com/sportngin/hubstats/pull/12.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/12/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/f2076829d409206eca85692632770020d341bf1e', 'Talking to github', '2014-06-24 22:13:28', 'https://api.github.com/repos/sportngin/hubstats/pulls/12', 2453875)
2964194
+  (0.4ms) COMMIT
2964195
+  (0.1ms) BEGIN
2964196
+  (0.1ms) COMMIT
2964197
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964198
+  (0.1ms) BEGIN
2964199
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964200
+  (0.1ms) COMMIT
2964201
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964202
+  (0.1ms) BEGIN
2964203
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964204
+  (0.1ms) COMMIT
2964205
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964206
+  (0.1ms) BEGIN
2964207
+  (0.1ms) COMMIT
2964208
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
2964209
+  (0.1ms) BEGIN
2964210
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', NULL, '2014-06-20 21:32:17', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/11/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/11/commits', '2014-06-20 16:29:51', NULL, 'https://github.com/sportngin/hubstats/pull/11.diff', 'https://github.com/sportngin/hubstats/pull/11', 17414868, 'https://api.github.com/repos/sportngin/hubstats/issues/11', 'f3bb95e30a22489326cb7a732bad499fe902a12f', NULL, NULL, '2014-06-20 21:32:17', 11, 'https://github.com/sportngin/hubstats/pull/11.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/11/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/91da2bb996fec490e2a02632e845dd3a384c33d4', 'Updated comment creation in rake..', '2014-06-20 21:34:15', 'https://api.github.com/repos/sportngin/hubstats/pulls/11', 2453875)
2964211
+  (0.4ms) COMMIT
2964212
+  (0.0ms) BEGIN
2964213
+  (0.1ms) COMMIT
2964214
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964215
+  (0.1ms) BEGIN
2964216
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964217
+  (0.1ms) COMMIT
2964218
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964219
+  (0.1ms) BEGIN
2964220
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964221
+  (0.1ms) COMMIT
2964222
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964223
+  (0.1ms) BEGIN
2964224
+  (0.1ms) COMMIT
2964225
+ Hubstats::PullRequest Load (0.1ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1
2964226
+  (0.1ms) BEGIN
2964227
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', NULL, '2014-06-20 14:52:30', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/10/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/10/commits', '2014-06-20 14:17:28', NULL, 'https://github.com/sportngin/hubstats/pull/10.diff', 'https://github.com/sportngin/hubstats/pull/10', 17407567, 'https://api.github.com/repos/sportngin/hubstats/issues/10', '83e60882fa932cb4f50f6211ecb0894ea6b7e56a', NULL, NULL, '2014-06-20 14:52:30', 10, 'https://github.com/sportngin/hubstats/pull/10.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/10/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/f583fd44fbb2c95e514e0fbd3937fb7840e80bec', 'Started Event Handler', '2014-06-20 19:58:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/10', 2453875)
2964228
+  (0.4ms) COMMIT
2964229
+  (0.0ms) BEGIN
2964230
+  (0.1ms) COMMIT
2964231
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964232
+  (0.1ms) BEGIN
2964233
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964234
+  (0.1ms) COMMIT
2964235
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964236
+  (0.1ms) BEGIN
2964237
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964238
+  (0.1ms) COMMIT
2964239
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964240
+  (0.1ms) BEGIN
2964241
+  (0.1ms) COMMIT
2964242
+ Hubstats::PullRequest Load (0.1ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
2964243
+  (0.1ms) BEGIN
2964244
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', NULL, '2014-06-19 18:17:52', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/9/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/9/commits', '2014-06-18 19:12:42', NULL, 'https://github.com/sportngin/hubstats/pull/9.diff', 'https://github.com/sportngin/hubstats/pull/9', 17313123, 'https://api.github.com/repos/sportngin/hubstats/issues/9', '0ee36073c6f8896c7d5185c419b30ebbd378f4c0', NULL, NULL, '2014-06-19 18:17:52', 9, 'https://github.com/sportngin/hubstats/pull/9.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/9/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/2abbfa81aa0b72164dd927b9f19b80dfd447d46c', 'Number of comments reviewed', '2014-06-19 18:17:58', 'https://api.github.com/repos/sportngin/hubstats/pulls/9', 2453875)
2964245
+  (0.4ms) COMMIT
2964246
+  (0.1ms) BEGIN
2964247
+  (0.1ms) COMMIT
2964248
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964249
+  (0.1ms) BEGIN
2964250
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964251
+  (0.1ms) COMMIT
2964252
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964253
+  (0.1ms) BEGIN
2964254
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964255
+  (0.1ms) COMMIT
2964256
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964257
+  (0.1ms) BEGIN
2964258
+  (0.1ms) COMMIT
2964259
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1
2964260
+  (0.1ms) BEGIN
2964261
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', NULL, '2014-06-19 17:41:29', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/7/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/7/commits', '2014-06-18 17:05:06', NULL, 'https://github.com/sportngin/hubstats/pull/7.diff', 'https://github.com/sportngin/hubstats/pull/7', 17306127, 'https://api.github.com/repos/sportngin/hubstats/issues/7', 'f6c6c3c142333e2d4e438de9ca5f45bd0f4c847c', NULL, NULL, '2014-06-19 17:41:29', 7, 'https://github.com/sportngin/hubstats/pull/7.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/7/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/994e1ce68f006306936dc3d4fa342821734faa1e', 'Updated Views/Created Users View', '2014-06-19 17:49:15', 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 2453875)
2964262
+  (0.4ms) COMMIT
2964263
+  (0.1ms) BEGIN
2964264
+  (0.1ms) COMMIT
2964265
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964266
+  (0.1ms) BEGIN
2964267
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964268
+  (0.1ms) COMMIT
2964269
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964270
+  (0.1ms) BEGIN
2964271
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964272
+  (0.1ms) COMMIT
2964273
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964274
+  (0.1ms) BEGIN
2964275
+  (0.1ms) COMMIT
2964276
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
2964277
+  (0.1ms) BEGIN
2964278
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', NULL, '2014-06-17 19:47:18', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/6/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/6/commits', '2014-06-17 19:34:54', NULL, 'https://github.com/sportngin/hubstats/pull/6.diff', 'https://github.com/sportngin/hubstats/pull/6', 17256454, 'https://api.github.com/repos/sportngin/hubstats/issues/6', '20e6fb0aefa5aeb715bd24122e82ed4e8677a433', NULL, NULL, '2014-06-17 19:47:18', 6, 'https://github.com/sportngin/hubstats/pull/6.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/6/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/7fa12f2d84d2a50d405235978b3920ec3af574a1', 'Adding Indexing on foreign keys', '2014-06-19 17:49:20', 'https://api.github.com/repos/sportngin/hubstats/pulls/6', 2453875)
2964279
+  (0.4ms) COMMIT
2964280
+  (0.0ms) BEGIN
2964281
+  (0.1ms) COMMIT
2964282
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964283
+  (0.1ms) BEGIN
2964284
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964285
+  (0.1ms) COMMIT
2964286
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964287
+  (0.1ms) BEGIN
2964288
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964289
+  (0.1ms) COMMIT
2964290
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964291
+  (0.1ms) BEGIN
2964292
+  (0.1ms) COMMIT
2964293
+ Hubstats::PullRequest Load (0.1ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1
2964294
+  (0.1ms) BEGIN
2964295
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', NULL, '2014-06-17 20:00:02', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/5/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/5/commits', '2014-06-17 14:10:15', NULL, 'https://github.com/sportngin/hubstats/pull/5.diff', 'https://github.com/sportngin/hubstats/pull/5', 17237179, 'https://api.github.com/repos/sportngin/hubstats/issues/5', 'f43e72c6ff71f8f774a9f9c80371fe68cabb3503', NULL, NULL, '2014-06-17 20:00:02', 5, 'https://github.com/sportngin/hubstats/pull/5.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/5/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/91b488028bb39b12f0e83b07f57daeabe8127ea9', 'Better Query on repo.index', '2014-06-19 17:49:18', 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 2453875)
2964296
+  (0.4ms) COMMIT
2964297
+  (0.0ms) BEGIN
2964298
+  (0.1ms) COMMIT
2964299
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964300
+  (0.1ms) BEGIN
2964301
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964302
+  (0.1ms) COMMIT
2964303
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964304
+  (0.1ms) BEGIN
2964305
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964306
+  (0.1ms) COMMIT
2964307
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964308
+  (0.1ms) BEGIN
2964309
+  (0.1ms) COMMIT
2964310
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
2964311
+  (0.1ms) BEGIN
2964312
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', NULL, '2014-06-16 21:55:07', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/4/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/4/commits', '2014-06-12 18:32:21', NULL, 'https://github.com/sportngin/hubstats/pull/4.diff', 'https://github.com/sportngin/hubstats/pull/4', 17071619, 'https://api.github.com/repos/sportngin/hubstats/issues/4', '81c30a0f095905995481b9b15f882854efbb5e86', NULL, NULL, '2014-06-16 21:55:07', 4, 'https://github.com/sportngin/hubstats/pull/4.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/4/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/6430cbd973a9f7ec9e5dc6620064473f34e25e49', 'Repo Depot!', '2014-06-19 17:49:21', 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 2453875)
2964313
+  (0.4ms) COMMIT
2964314
+  (0.0ms) BEGIN
2964315
+  (0.1ms) COMMIT
2964316
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964317
+  (0.1ms) BEGIN
2964318
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964319
+  (0.1ms) COMMIT
2964320
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964321
+  (0.4ms) BEGIN
2964322
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964323
+  (0.1ms) COMMIT
2964324
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964325
+  (0.1ms) BEGIN
2964326
+  (0.1ms) COMMIT
2964327
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1
2964328
+  (0.1ms) BEGIN
2964329
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', NULL, '2014-06-11 21:52:48', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/3/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/3/commits', '2014-06-06 18:17:02', NULL, 'https://github.com/sportngin/hubstats/pull/3.diff', 'https://github.com/sportngin/hubstats/pull/3', 16834687, 'https://api.github.com/repos/sportngin/hubstats/issues/3', 'b9e6c9cf8e523b05a90afa5ed4bf3fbec620f7ce', NULL, NULL, '2014-06-11 21:52:48', 3, 'https://github.com/sportngin/hubstats/pull/3.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/3/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/c0909a691f69cdbddec76175d706ac9a4a059962', 'Models, Models and Rake Tasks', '2014-06-19 17:49:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 2453875)
2964330
+  (0.4ms) COMMIT
2964331
+  (0.0ms) BEGIN
2964332
+  (0.0ms) COMMIT
2964333
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964334
+  (0.1ms) BEGIN
2964335
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964336
+  (0.1ms) COMMIT
2964337
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964338
+  (0.1ms) BEGIN
2964339
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964340
+  (0.1ms) COMMIT
2964341
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964342
+  (0.1ms) BEGIN
2964343
+  (0.1ms) COMMIT
2964344
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
2964345
+  (0.1ms) BEGIN
2964346
+ SQL (0.3ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', NULL, '2014-06-04 13:00:31', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/2/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/2/commits', '2014-06-03 01:48:32', NULL, 'https://github.com/sportngin/hubstats/pull/2.diff', 'https://github.com/sportngin/hubstats/pull/2', 16631904, 'https://api.github.com/repos/sportngin/hubstats/issues/2', '6a59fd11dd327a74d1ca2a00ec46775f19b7c22e', NULL, NULL, '2014-06-04 13:00:31', 2, 'https://github.com/sportngin/hubstats/pull/2.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/2/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/92a312579689a15af132b78711dba0d30ed4fbe9', 'new githubAPI config tests', '2014-06-18 19:49:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 2453875)
2964347
+  (0.5ms) COMMIT
2964348
+  (0.0ms) BEGIN
2964349
+  (0.1ms) COMMIT
2964350
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964351
+  (0.1ms) BEGIN
2964352
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964353
+  (0.1ms) COMMIT
2964354
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964355
+  (0.1ms) BEGIN
2964356
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964357
+  (0.1ms) COMMIT
2964358
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964359
+  (0.1ms) BEGIN
2964360
+  (0.1ms) COMMIT
2964361
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1
2964362
+  (0.1ms) BEGIN
2964363
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', NULL, '2014-06-02 21:35:21', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/1/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/1/commits', '2014-05-29 20:10:57', NULL, 'https://github.com/sportngin/hubstats/pull/1.diff', 'https://github.com/sportngin/hubstats/pull/1', 16501072, 'https://api.github.com/repos/sportngin/hubstats/issues/1', 'af73890916f0e9b4971db4e477e082fb3115f639', NULL, NULL, '2014-06-02 21:35:21', 1, 'https://github.com/sportngin/hubstats/pull/1.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/1/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/9623b4c2b2a379461547437e46a482ae080cd7f4', 'Got since for pull requests working', '2014-06-13 12:23:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 2453875)
2964364
+  (0.4ms) COMMIT
2964365
+  (0.1ms) BEGIN
2964366
+  (0.1ms) COMMIT
2964367
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964368
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964369
+ Connecting to database specified by database.yml
2964370
+  (10.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964371
+ Migrating to CreateHubstatsPullRequests (20140702142614)
2964372
+ Migrating to CreateHubstatsUsers (20140702142615)
2964373
+ Migrating to CreateHubstatsComments (20140702142616)
2964374
+ Migrating to CreateHubstatsRepos (20140702142617)
2964375
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
2964376
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964377
+  (0.1ms) BEGIN
2964378
+ Hubstats::User Exists (0.3ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964379
+  (0.1ms) COMMIT
2964380
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964381
+  (0.1ms) BEGIN
2964382
+  (0.1ms) COMMIT
2964383
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964384
+  (0.1ms) BEGIN
2964385
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964386
+  (0.1ms) COMMIT
2964387
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2964388
+  (0.1ms) BEGIN
2964389
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2964390
+  (0.1ms) COMMIT
2964391
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964392
+ Hubstats::User Load (0.4ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964393
+  (0.1ms) BEGIN
2964394
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964395
+  (0.1ms) COMMIT
2964396
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964397
+  (0.1ms) BEGIN
2964398
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964399
+  (0.1ms) COMMIT
2964400
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964401
+  (0.1ms) BEGIN
2964402
+  (0.1ms) COMMIT
2964403
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
2964404
+  (0.1ms) BEGIN
2964405
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
2964406
+  (0.6ms) COMMIT
2964407
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964408
+  (0.1ms) BEGIN
2964409
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964410
+  (0.1ms) COMMIT
2964411
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964412
+  (0.1ms) BEGIN
2964413
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964414
+  (0.1ms) COMMIT
2964415
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964416
+  (0.1ms) BEGIN
2964417
+  (0.1ms) COMMIT
2964418
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1
2964419
+  (0.1ms) BEGIN
2964420
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873
2964421
+  (0.5ms) COMMIT
2964422
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964423
+  (0.1ms) BEGIN
2964424
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964425
+  (0.1ms) COMMIT
2964426
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964427
+  (0.1ms) BEGIN
2964428
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964429
+  (0.1ms) COMMIT
2964430
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964431
+  (0.1ms) BEGIN
2964432
+  (0.1ms) COMMIT
2964433
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
2964434
+  (0.1ms) BEGIN
2964435
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
2964436
+  (0.4ms) COMMIT
2964437
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964438
+  (0.1ms) BEGIN
2964439
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964440
+  (0.1ms) COMMIT
2964441
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964442
+  (0.1ms) BEGIN
2964443
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964444
+  (0.1ms) COMMIT
2964445
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964446
+  (0.1ms) BEGIN
2964447
+  (0.1ms) COMMIT
2964448
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1
2964449
+  (0.1ms) BEGIN
2964450
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385
2964451
+  (0.4ms) COMMIT
2964452
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964453
+  (0.1ms) BEGIN
2964454
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964455
+  (0.1ms) COMMIT
2964456
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964457
+  (0.1ms) BEGIN
2964458
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964459
+  (0.1ms) COMMIT
2964460
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964461
+  (0.1ms) BEGIN
2964462
+  (0.1ms) COMMIT
2964463
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
2964464
+  (0.1ms) BEGIN
2964465
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
2964466
+  (0.4ms) COMMIT
2964467
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964468
+  (0.1ms) BEGIN
2964469
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964470
+  (0.1ms) COMMIT
2964471
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964472
+  (0.1ms) BEGIN
2964473
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964474
+  (0.1ms) COMMIT
2964475
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964476
+  (0.1ms) BEGIN
2964477
+  (0.1ms) COMMIT
2964478
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1
2964479
+  (0.1ms) BEGIN
2964480
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995
2964481
+  (0.4ms) COMMIT
2964482
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964483
+  (0.1ms) BEGIN
2964484
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964485
+  (0.1ms) COMMIT
2964486
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964487
+  (0.1ms) BEGIN
2964488
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964489
+  (0.1ms) COMMIT
2964490
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964491
+  (0.1ms) BEGIN
2964492
+  (0.1ms) COMMIT
2964493
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
2964494
+  (0.1ms) BEGIN
2964495
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
2964496
+  (0.4ms) COMMIT
2964497
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964498
+  (0.1ms) BEGIN
2964499
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964500
+  (0.1ms) COMMIT
2964501
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964502
+  (0.1ms) BEGIN
2964503
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964504
+  (0.1ms) COMMIT
2964505
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964506
+  (0.1ms) BEGIN
2964507
+  (0.1ms) COMMIT
2964508
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1
2964509
+  (0.0ms) BEGIN
2964510
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567
2964511
+  (0.4ms) COMMIT
2964512
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964513
+  (0.1ms) BEGIN
2964514
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964515
+  (0.1ms) COMMIT
2964516
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964517
+  (0.0ms) BEGIN
2964518
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964519
+  (0.1ms) COMMIT
2964520
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964521
+  (0.1ms) BEGIN
2964522
+  (0.1ms) COMMIT
2964523
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
2964524
+  (0.1ms) BEGIN
2964525
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
2964526
+  (0.4ms) COMMIT
2964527
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964528
+  (0.1ms) BEGIN
2964529
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964530
+  (0.1ms) COMMIT
2964531
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964532
+  (0.1ms) BEGIN
2964533
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964534
+  (0.1ms) COMMIT
2964535
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964536
+  (0.1ms) BEGIN
2964537
+  (0.1ms) COMMIT
2964538
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1
2964539
+  (0.1ms) BEGIN
2964540
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127
2964541
+  (0.4ms) COMMIT
2964542
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964543
+  (0.1ms) BEGIN
2964544
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964545
+  (0.1ms) COMMIT
2964546
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964547
+  (0.1ms) BEGIN
2964548
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964549
+  (0.1ms) COMMIT
2964550
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964551
+  (0.1ms) BEGIN
2964552
+  (0.1ms) COMMIT
2964553
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
2964554
+  (0.1ms) BEGIN
2964555
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
2964556
+  (0.4ms) COMMIT
2964557
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964558
+  (0.1ms) BEGIN
2964559
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964560
+  (0.1ms) COMMIT
2964561
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964562
+  (0.1ms) BEGIN
2964563
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964564
+  (0.1ms) COMMIT
2964565
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964566
+  (0.0ms) BEGIN
2964567
+  (0.1ms) COMMIT
2964568
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1
2964569
+  (0.1ms) BEGIN
2964570
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179
2964571
+  (0.4ms) COMMIT
2964572
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964573
+  (0.1ms) BEGIN
2964574
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964575
+  (0.1ms) COMMIT
2964576
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964577
+  (0.1ms) BEGIN
2964578
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964579
+  (0.1ms) COMMIT
2964580
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964581
+  (0.1ms) BEGIN
2964582
+  (0.1ms) COMMIT
2964583
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
2964584
+  (0.1ms) BEGIN
2964585
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
2964586
+  (0.4ms) COMMIT
2964587
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964588
+  (0.0ms) BEGIN
2964589
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964590
+  (0.1ms) COMMIT
2964591
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964592
+  (0.1ms) BEGIN
2964593
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964594
+  (0.1ms) COMMIT
2964595
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964596
+  (0.1ms) BEGIN
2964597
+  (0.1ms) COMMIT
2964598
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1
2964599
+  (0.1ms) BEGIN
2964600
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687
2964601
+  (0.4ms) COMMIT
2964602
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964603
+  (0.1ms) BEGIN
2964604
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964605
+  (0.1ms) COMMIT
2964606
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964607
+  (0.1ms) BEGIN
2964608
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964609
+  (0.1ms) COMMIT
2964610
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964611
+  (0.1ms) BEGIN
2964612
+  (0.1ms) COMMIT
2964613
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
2964614
+  (0.1ms) BEGIN
2964615
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
2964616
+  (0.4ms) COMMIT
2964617
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964618
+  (0.1ms) BEGIN
2964619
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964620
+  (0.1ms) COMMIT
2964621
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964622
+  (0.1ms) BEGIN
2964623
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964624
+  (0.1ms) COMMIT
2964625
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964626
+  (0.1ms) BEGIN
2964627
+  (0.1ms) COMMIT
2964628
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1
2964629
+  (0.1ms) BEGIN
2964630
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072
2964631
+  (0.4ms) COMMIT
2964632
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964633
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964634
+ Connecting to database specified by database.yml
2964635
+  (1.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964636
+ Migrating to CreateHubstatsPullRequests (20140702142614)
2964637
+ Migrating to CreateHubstatsUsers (20140702142615)
2964638
+ Migrating to CreateHubstatsComments (20140702142616)
2964639
+ Migrating to CreateHubstatsRepos (20140702142617)
2964640
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
2964641
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964642
+  (0.1ms) BEGIN
2964643
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964644
+  (0.1ms) COMMIT
2964645
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964646
+  (0.1ms) BEGIN
2964647
+  (0.1ms) COMMIT
2964648
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964649
+  (0.1ms) BEGIN
2964650
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964651
+  (0.1ms) COMMIT
2964652
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2964653
+  (0.1ms) BEGIN
2964654
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2964655
+  (0.1ms) COMMIT
2964656
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964657
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964658
+  (0.1ms) BEGIN
2964659
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964660
+  (0.1ms) COMMIT
2964661
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964662
+  (0.1ms) BEGIN
2964663
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964664
+  (0.1ms) COMMIT
2964665
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964666
+  (0.1ms) BEGIN
2964667
+  (0.1ms) COMMIT
2964668
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
2964669
+  (0.1ms) BEGIN
2964670
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
2964671
+  (0.5ms) COMMIT
2964672
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964673
+  (0.1ms) BEGIN
2964674
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964675
+  (0.1ms) COMMIT
2964676
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964677
+  (0.1ms) BEGIN
2964678
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964679
+  (0.1ms) COMMIT
2964680
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964681
+  (0.1ms) BEGIN
2964682
+  (0.1ms) COMMIT
2964683
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1
2964684
+  (0.1ms) BEGIN
2964685
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873
2964686
+  (0.4ms) COMMIT
2964687
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964688
+  (0.1ms) BEGIN
2964689
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964690
+  (0.1ms) COMMIT
2964691
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964692
+  (0.1ms) BEGIN
2964693
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964694
+  (0.1ms) COMMIT
2964695
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964696
+  (0.1ms) BEGIN
2964697
+  (0.1ms) COMMIT
2964698
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
2964699
+  (0.1ms) BEGIN
2964700
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
2964701
+  (0.4ms) COMMIT
2964702
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964703
+  (0.1ms) BEGIN
2964704
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964705
+  (0.1ms) COMMIT
2964706
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964707
+  (0.1ms) BEGIN
2964708
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964709
+  (0.1ms) COMMIT
2964710
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964711
+  (0.1ms) BEGIN
2964712
+  (0.1ms) COMMIT
2964713
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1
2964714
+  (0.1ms) BEGIN
2964715
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385
2964716
+  (0.4ms) COMMIT
2964717
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964718
+  (0.1ms) BEGIN
2964719
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964720
+  (0.1ms) COMMIT
2964721
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964722
+  (0.1ms) BEGIN
2964723
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964724
+  (0.1ms) COMMIT
2964725
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964726
+  (0.1ms) BEGIN
2964727
+  (0.1ms) COMMIT
2964728
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
2964729
+  (0.1ms) BEGIN
2964730
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
2964731
+  (0.4ms) COMMIT
2964732
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964733
+  (0.1ms) BEGIN
2964734
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964735
+  (0.1ms) COMMIT
2964736
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964737
+  (0.1ms) BEGIN
2964738
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964739
+  (0.1ms) COMMIT
2964740
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964741
+  (0.1ms) BEGIN
2964742
+  (0.1ms) COMMIT
2964743
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1
2964744
+  (0.1ms) BEGIN
2964745
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995
2964746
+  (0.4ms) COMMIT
2964747
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964748
+  (0.1ms) BEGIN
2964749
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964750
+  (0.1ms) COMMIT
2964751
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964752
+  (0.1ms) BEGIN
2964753
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964754
+  (0.1ms) COMMIT
2964755
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964756
+  (0.1ms) BEGIN
2964757
+  (0.1ms) COMMIT
2964758
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
2964759
+  (0.1ms) BEGIN
2964760
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
2964761
+  (0.5ms) COMMIT
2964762
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964763
+  (0.1ms) BEGIN
2964764
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964765
+  (0.1ms) COMMIT
2964766
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964767
+  (0.1ms) BEGIN
2964768
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964769
+  (0.1ms) COMMIT
2964770
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964771
+  (0.1ms) BEGIN
2964772
+  (0.1ms) COMMIT
2964773
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1
2964774
+  (0.1ms) BEGIN
2964775
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567
2964776
+  (0.5ms) COMMIT
2964777
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964778
+  (0.1ms) BEGIN
2964779
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964780
+  (0.1ms) COMMIT
2964781
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964782
+  (0.1ms) BEGIN
2964783
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964784
+  (0.1ms) COMMIT
2964785
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964786
+  (0.1ms) BEGIN
2964787
+  (0.1ms) COMMIT
2964788
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
2964789
+  (0.1ms) BEGIN
2964790
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
2964791
+  (0.5ms) COMMIT
2964792
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964793
+  (0.1ms) BEGIN
2964794
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964795
+  (0.1ms) COMMIT
2964796
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964797
+  (0.1ms) BEGIN
2964798
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964799
+  (0.1ms) COMMIT
2964800
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964801
+  (0.0ms) BEGIN
2964802
+  (0.1ms) COMMIT
2964803
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1
2964804
+  (0.1ms) BEGIN
2964805
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127
2964806
+  (0.4ms) COMMIT
2964807
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964808
+  (0.1ms) BEGIN
2964809
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964810
+  (0.1ms) COMMIT
2964811
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964812
+  (0.1ms) BEGIN
2964813
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964814
+  (0.1ms) COMMIT
2964815
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964816
+  (0.1ms) BEGIN
2964817
+  (0.1ms) COMMIT
2964818
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
2964819
+  (0.1ms) BEGIN
2964820
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
2964821
+  (0.4ms) COMMIT
2964822
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964823
+  (0.1ms) BEGIN
2964824
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964825
+  (0.1ms) COMMIT
2964826
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964827
+  (0.1ms) BEGIN
2964828
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964829
+  (0.1ms) COMMIT
2964830
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964831
+  (0.1ms) BEGIN
2964832
+  (0.1ms) COMMIT
2964833
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1
2964834
+  (0.1ms) BEGIN
2964835
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179
2964836
+  (0.4ms) COMMIT
2964837
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964838
+  (0.1ms) BEGIN
2964839
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964840
+  (0.1ms) COMMIT
2964841
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964842
+  (0.1ms) BEGIN
2964843
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964844
+  (0.1ms) COMMIT
2964845
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964846
+  (0.1ms) BEGIN
2964847
+  (0.1ms) COMMIT
2964848
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
2964849
+  (0.1ms) BEGIN
2964850
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
2964851
+  (0.4ms) COMMIT
2964852
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964853
+  (0.1ms) BEGIN
2964854
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964855
+  (0.1ms) COMMIT
2964856
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964857
+  (0.1ms) BEGIN
2964858
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964859
+  (0.1ms) COMMIT
2964860
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964861
+  (0.1ms) BEGIN
2964862
+  (0.1ms) COMMIT
2964863
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1
2964864
+  (0.1ms) BEGIN
2964865
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687
2964866
+  (0.4ms) COMMIT
2964867
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964868
+  (0.1ms) BEGIN
2964869
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964870
+  (0.1ms) COMMIT
2964871
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964872
+  (0.1ms) BEGIN
2964873
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964874
+  (0.1ms) COMMIT
2964875
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964876
+  (0.1ms) BEGIN
2964877
+  (0.1ms) COMMIT
2964878
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
2964879
+  (0.1ms) BEGIN
2964880
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
2964881
+  (0.4ms) COMMIT
2964882
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964883
+  (0.1ms) BEGIN
2964884
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964885
+  (0.1ms) COMMIT
2964886
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964887
+  (0.1ms) BEGIN
2964888
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964889
+  (0.1ms) COMMIT
2964890
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964891
+  (0.1ms) BEGIN
2964892
+  (0.1ms) COMMIT
2964893
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1
2964894
+  (0.1ms) BEGIN
2964895
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072
2964896
+  (0.5ms) COMMIT
2964897
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964898
+ Hubstats::Repo Load (0.4ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964899
+ Connecting to database specified by database.yml
2964900
+  (1.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2964901
+ Migrating to CreateHubstatsPullRequests (20140702142614)
2964902
+ Migrating to CreateHubstatsUsers (20140702142615)
2964903
+ Migrating to CreateHubstatsComments (20140702142616)
2964904
+ Migrating to CreateHubstatsRepos (20140702142617)
2964905
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
2964906
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964907
+  (0.1ms) BEGIN
2964908
+ Hubstats::User Exists (0.3ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964909
+  (0.1ms) COMMIT
2964910
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964911
+  (0.1ms) BEGIN
2964912
+  (0.1ms) COMMIT
2964913
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964914
+  (0.1ms) BEGIN
2964915
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964916
+  (0.1ms) COMMIT
2964917
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2964918
+  (0.1ms) BEGIN
2964919
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2964920
+  (0.1ms) COMMIT
2964921
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2964922
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964923
+  (0.1ms) BEGIN
2964924
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964925
+  (0.1ms) COMMIT
2964926
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964927
+  (0.1ms) BEGIN
2964928
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964929
+  (0.1ms) COMMIT
2964930
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964931
+  (0.1ms) BEGIN
2964932
+  (0.1ms) COMMIT
2964933
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
2964934
+  (0.1ms) BEGIN
2964935
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
2964936
+  (0.4ms) COMMIT
2964937
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964938
+  (0.1ms) BEGIN
2964939
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964940
+  (0.1ms) COMMIT
2964941
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964942
+  (0.1ms) BEGIN
2964943
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964944
+  (0.1ms) COMMIT
2964945
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964946
+  (0.1ms) BEGIN
2964947
+  (0.1ms) COMMIT
2964948
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1
2964949
+  (0.1ms) BEGIN
2964950
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873
2964951
+  (0.4ms) COMMIT
2964952
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964953
+  (0.1ms) BEGIN
2964954
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964955
+  (0.1ms) COMMIT
2964956
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964957
+  (0.1ms) BEGIN
2964958
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964959
+  (0.1ms) COMMIT
2964960
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964961
+  (0.1ms) BEGIN
2964962
+  (0.1ms) COMMIT
2964963
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
2964964
+  (0.1ms) BEGIN
2964965
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
2964966
+  (0.4ms) COMMIT
2964967
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964968
+  (0.1ms) BEGIN
2964969
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964970
+  (0.1ms) COMMIT
2964971
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964972
+  (0.1ms) BEGIN
2964973
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964974
+  (0.1ms) COMMIT
2964975
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964976
+  (0.1ms) BEGIN
2964977
+  (0.1ms) COMMIT
2964978
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1
2964979
+  (0.1ms) BEGIN
2964980
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385
2964981
+  (0.4ms) COMMIT
2964982
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964983
+  (0.1ms) BEGIN
2964984
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2964985
+  (0.1ms) COMMIT
2964986
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2964987
+  (0.1ms) BEGIN
2964988
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2964989
+  (0.1ms) COMMIT
2964990
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2964991
+  (0.1ms) BEGIN
2964992
+  (0.1ms) COMMIT
2964993
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
2964994
+  (0.1ms) BEGIN
2964995
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
2964996
+  (0.4ms) COMMIT
2964997
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2964998
+  (0.1ms) BEGIN
2964999
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965000
+  (0.1ms) COMMIT
2965001
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965002
+  (0.1ms) BEGIN
2965003
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965004
+  (0.1ms) COMMIT
2965005
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965006
+  (0.1ms) BEGIN
2965007
+  (0.1ms) COMMIT
2965008
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1
2965009
+  (0.1ms) BEGIN
2965010
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995
2965011
+  (0.4ms) COMMIT
2965012
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965013
+  (0.1ms) BEGIN
2965014
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965015
+  (0.1ms) COMMIT
2965016
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965017
+  (0.1ms) BEGIN
2965018
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965019
+  (0.1ms) COMMIT
2965020
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965021
+  (0.1ms) BEGIN
2965022
+  (0.1ms) COMMIT
2965023
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
2965024
+  (0.1ms) BEGIN
2965025
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
2965026
+  (0.4ms) COMMIT
2965027
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965028
+  (0.1ms) BEGIN
2965029
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965030
+  (0.1ms) COMMIT
2965031
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965032
+  (0.1ms) BEGIN
2965033
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965034
+  (0.1ms) COMMIT
2965035
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965036
+  (0.1ms) BEGIN
2965037
+  (0.1ms) COMMIT
2965038
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1
2965039
+  (0.1ms) BEGIN
2965040
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567
2965041
+  (0.4ms) COMMIT
2965042
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965043
+  (0.1ms) BEGIN
2965044
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965045
+  (0.1ms) COMMIT
2965046
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965047
+  (0.1ms) BEGIN
2965048
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965049
+  (0.1ms) COMMIT
2965050
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965051
+  (0.1ms) BEGIN
2965052
+  (0.1ms) COMMIT
2965053
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
2965054
+  (0.1ms) BEGIN
2965055
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
2965056
+  (0.4ms) COMMIT
2965057
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965058
+  (0.1ms) BEGIN
2965059
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965060
+  (0.1ms) COMMIT
2965061
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965062
+  (0.1ms) BEGIN
2965063
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965064
+  (0.1ms) COMMIT
2965065
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965066
+  (0.1ms) BEGIN
2965067
+  (0.1ms) COMMIT
2965068
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1
2965069
+  (0.1ms) BEGIN
2965070
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127
2965071
+  (0.4ms) COMMIT
2965072
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965073
+  (0.1ms) BEGIN
2965074
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965075
+  (0.1ms) COMMIT
2965076
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965077
+  (0.1ms) BEGIN
2965078
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965079
+  (0.1ms) COMMIT
2965080
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965081
+  (0.1ms) BEGIN
2965082
+  (0.1ms) COMMIT
2965083
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
2965084
+  (0.1ms) BEGIN
2965085
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
2965086
+  (0.4ms) COMMIT
2965087
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965088
+  (0.1ms) BEGIN
2965089
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965090
+  (0.1ms) COMMIT
2965091
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965092
+  (0.1ms) BEGIN
2965093
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965094
+  (0.1ms) COMMIT
2965095
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965096
+  (0.1ms) BEGIN
2965097
+  (0.1ms) COMMIT
2965098
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1
2965099
+  (0.1ms) BEGIN
2965100
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179
2965101
+  (0.4ms) COMMIT
2965102
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965103
+  (0.1ms) BEGIN
2965104
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965105
+  (0.1ms) COMMIT
2965106
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965107
+  (0.1ms) BEGIN
2965108
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965109
+  (0.1ms) COMMIT
2965110
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965111
+  (0.1ms) BEGIN
2965112
+  (0.1ms) COMMIT
2965113
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
2965114
+  (0.1ms) BEGIN
2965115
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
2965116
+  (0.4ms) COMMIT
2965117
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965118
+  (0.1ms) BEGIN
2965119
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965120
+  (0.1ms) COMMIT
2965121
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965122
+  (0.1ms) BEGIN
2965123
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965124
+  (0.1ms) COMMIT
2965125
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965126
+  (0.1ms) BEGIN
2965127
+  (0.1ms) COMMIT
2965128
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1
2965129
+  (0.1ms) BEGIN
2965130
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687
2965131
+  (0.4ms) COMMIT
2965132
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965133
+  (0.1ms) BEGIN
2965134
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965135
+  (0.1ms) COMMIT
2965136
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965137
+  (0.1ms) BEGIN
2965138
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965139
+  (0.1ms) COMMIT
2965140
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965141
+  (0.1ms) BEGIN
2965142
+  (0.1ms) COMMIT
2965143
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
2965144
+  (0.1ms) BEGIN
2965145
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
2965146
+  (0.4ms) COMMIT
2965147
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965148
+  (0.1ms) BEGIN
2965149
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965150
+  (0.1ms) COMMIT
2965151
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965152
+  (0.1ms) BEGIN
2965153
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965154
+  (0.1ms) COMMIT
2965155
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965156
+  (0.1ms) BEGIN
2965157
+  (0.1ms) COMMIT
2965158
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1
2965159
+  (0.1ms) BEGIN
2965160
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072
2965161
+  (0.4ms) COMMIT
2965162
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965163
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965164
+ Connecting to database specified by database.yml
2965165
+  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2965166
+ Migrating to CreateHubstatsPullRequests (20140702142614)
2965167
+ Migrating to CreateHubstatsUsers (20140702142615)
2965168
+ Migrating to CreateHubstatsComments (20140702142616)
2965169
+ Migrating to CreateHubstatsRepos (20140702142617)
2965170
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
2965171
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965172
+  (0.1ms) BEGIN
2965173
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965174
+  (0.1ms) COMMIT
2965175
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965176
+  (0.1ms) BEGIN
2965177
+  (0.1ms) COMMIT
2965178
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965179
+  (0.1ms) BEGIN
2965180
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965181
+  (0.1ms) COMMIT
2965182
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965183
+  (0.1ms) BEGIN
2965184
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965185
+  (0.1ms) COMMIT
2965186
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965187
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965188
+  (0.1ms) BEGIN
2965189
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965190
+  (0.1ms) COMMIT
2965191
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965192
+  (0.1ms) BEGIN
2965193
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965194
+  (0.1ms) COMMIT
2965195
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965196
+  (0.1ms) BEGIN
2965197
+  (0.1ms) COMMIT
2965198
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
2965199
+  (0.1ms) BEGIN
2965200
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
2965201
+  (0.7ms) COMMIT
2965202
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965203
+  (0.1ms) BEGIN
2965204
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965205
+  (0.1ms) COMMIT
2965206
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965207
+  (0.1ms) BEGIN
2965208
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965209
+  (0.1ms) COMMIT
2965210
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965211
+  (0.1ms) BEGIN
2965212
+  (0.1ms) COMMIT
2965213
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1
2965214
+  (0.1ms) BEGIN
2965215
+  (0.3ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873
2965216
+  (0.4ms) COMMIT
2965217
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965218
+  (0.1ms) BEGIN
2965219
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965220
+  (0.1ms) COMMIT
2965221
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965222
+  (0.1ms) BEGIN
2965223
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965224
+  (0.1ms) COMMIT
2965225
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965226
+  (0.1ms) BEGIN
2965227
+  (0.1ms) COMMIT
2965228
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
2965229
+  (0.1ms) BEGIN
2965230
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
2965231
+  (0.5ms) COMMIT
2965232
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965233
+  (0.1ms) BEGIN
2965234
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965235
+  (0.1ms) COMMIT
2965236
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965237
+  (0.1ms) BEGIN
2965238
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965239
+  (0.1ms) COMMIT
2965240
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965241
+  (0.1ms) BEGIN
2965242
+  (0.1ms) COMMIT
2965243
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1
2965244
+  (0.1ms) BEGIN
2965245
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385
2965246
+  (0.5ms) COMMIT
2965247
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965248
+  (0.1ms) BEGIN
2965249
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965250
+  (0.1ms) COMMIT
2965251
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965252
+  (0.1ms) BEGIN
2965253
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965254
+  (0.1ms) COMMIT
2965255
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965256
+  (0.1ms) BEGIN
2965257
+  (0.1ms) COMMIT
2965258
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
2965259
+  (0.1ms) BEGIN
2965260
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
2965261
+  (0.5ms) COMMIT
2965262
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965263
+  (0.1ms) BEGIN
2965264
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965265
+  (0.1ms) COMMIT
2965266
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965267
+  (0.1ms) BEGIN
2965268
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965269
+  (0.1ms) COMMIT
2965270
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965271
+  (0.1ms) BEGIN
2965272
+  (0.1ms) COMMIT
2965273
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1
2965274
+  (0.1ms) BEGIN
2965275
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995
2965276
+  (0.4ms) COMMIT
2965277
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965278
+  (0.1ms) BEGIN
2965279
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965280
+  (0.1ms) COMMIT
2965281
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965282
+  (0.1ms) BEGIN
2965283
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965284
+  (0.1ms) COMMIT
2965285
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965286
+  (0.1ms) BEGIN
2965287
+  (0.1ms) COMMIT
2965288
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
2965289
+  (0.1ms) BEGIN
2965290
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
2965291
+  (0.5ms) COMMIT
2965292
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965293
+  (0.1ms) BEGIN
2965294
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965295
+  (0.1ms) COMMIT
2965296
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965297
+  (0.1ms) BEGIN
2965298
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965299
+  (0.1ms) COMMIT
2965300
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965301
+  (0.1ms) BEGIN
2965302
+  (0.1ms) COMMIT
2965303
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1
2965304
+  (0.1ms) BEGIN
2965305
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567
2965306
+  (0.5ms) COMMIT
2965307
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965308
+  (0.1ms) BEGIN
2965309
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965310
+  (0.1ms) COMMIT
2965311
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965312
+  (0.1ms) BEGIN
2965313
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965314
+  (0.1ms) COMMIT
2965315
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965316
+  (0.1ms) BEGIN
2965317
+  (0.1ms) COMMIT
2965318
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
2965319
+  (0.1ms) BEGIN
2965320
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
2965321
+  (0.5ms) COMMIT
2965322
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965323
+  (0.1ms) BEGIN
2965324
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965325
+  (0.1ms) COMMIT
2965326
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965327
+  (0.1ms) BEGIN
2965328
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965329
+  (0.1ms) COMMIT
2965330
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965331
+  (0.1ms) BEGIN
2965332
+  (0.1ms) COMMIT
2965333
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1
2965334
+  (0.1ms) BEGIN
2965335
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127
2965336
+  (0.4ms) COMMIT
2965337
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965338
+  (0.1ms) BEGIN
2965339
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965340
+  (0.1ms) COMMIT
2965341
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965342
+  (0.1ms) BEGIN
2965343
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965344
+  (0.1ms) COMMIT
2965345
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965346
+  (0.0ms) BEGIN
2965347
+  (0.1ms) COMMIT
2965348
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
2965349
+  (0.1ms) BEGIN
2965350
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
2965351
+  (0.5ms) COMMIT
2965352
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965353
+  (0.1ms) BEGIN
2965354
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965355
+  (0.1ms) COMMIT
2965356
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965357
+  (0.1ms) BEGIN
2965358
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965359
+  (0.1ms) COMMIT
2965360
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965361
+  (0.1ms) BEGIN
2965362
+  (0.1ms) COMMIT
2965363
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1
2965364
+  (0.1ms) BEGIN
2965365
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179
2965366
+  (0.5ms) COMMIT
2965367
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965368
+  (0.1ms) BEGIN
2965369
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965370
+  (0.1ms) COMMIT
2965371
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965372
+  (0.1ms) BEGIN
2965373
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965374
+  (0.1ms) COMMIT
2965375
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965376
+  (0.1ms) BEGIN
2965377
+  (0.1ms) COMMIT
2965378
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
2965379
+  (0.1ms) BEGIN
2965380
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
2965381
+  (0.5ms) COMMIT
2965382
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965383
+  (0.1ms) BEGIN
2965384
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965385
+  (0.1ms) COMMIT
2965386
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965387
+  (0.1ms) BEGIN
2965388
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965389
+  (0.1ms) COMMIT
2965390
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965391
+  (0.1ms) BEGIN
2965392
+  (0.1ms) COMMIT
2965393
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1
2965394
+  (0.1ms) BEGIN
2965395
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687
2965396
+  (0.7ms) COMMIT
2965397
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965398
+  (0.1ms) BEGIN
2965399
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965400
+  (0.1ms) COMMIT
2965401
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965402
+  (0.1ms) BEGIN
2965403
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965404
+  (0.1ms) COMMIT
2965405
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965406
+  (0.1ms) BEGIN
2965407
+  (0.1ms) COMMIT
2965408
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
2965409
+  (0.1ms) BEGIN
2965410
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
2965411
+  (0.5ms) COMMIT
2965412
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965413
+  (0.1ms) BEGIN
2965414
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965415
+  (0.1ms) COMMIT
2965416
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2965417
+  (0.1ms) BEGIN
2965418
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2965419
+  (0.1ms) COMMIT
2965420
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
2965421
+  (0.1ms) BEGIN
2965422
+  (0.1ms) COMMIT
2965423
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1
2965424
+  (0.1ms) BEGIN
2965425
+  (0.2ms) UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072
2965426
+  (0.4ms) COMMIT
2965427
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965428
+ Hubstats::Repo Load (0.4ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965429
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965430
+  (0.1ms) BEGIN
2965431
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965432
+  (0.1ms) COMMIT
2965433
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2965434
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13206931 LIMIT 1
2965435
+  (0.1ms) BEGIN
2965436
+ SQL (0.4ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s not assume that we\'re searching only for pull-requests in the `closed` state, and pass that in as an option instead.', '9623b4c2b2a379461547437e46a482ae080cd7f4', '2014-05-29 21:49:38', '@@ -0,0 +1,29 @@\n+module Hubification\n+ class GithubAPI\n+ \n+ def self.client\n+ @client ||= Octokit::Client.new(:login => ENV[\'GITHUB_USER\'], :password => ENV[\'GITHUB_PASS\'])\n+ end\n+\n+ def self.since(time)\n+ again = true\n+ i = 0\n+ pulls = []\n+\n+ while again do\n+ res = client.paginate(\'/repos/sportngin/ngin/pulls\', :state => \'closed\', :sort => \'updated\', :direction => \'desc\', :page => i += 1 )', 'https://github.com/sportngin/hubstats/pull/1#discussion_r13206931', 13206931, 'PullRequest', NULL, 'fc0c120e9f6e175243db1ff11a854c46982f620b', 14, 0, NULL, 16501072, 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 20231003, '2014-06-02 21:22:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13206931', 174227)
2965437
+  (15.8ms) COMMIT
2965438
+  (0.1ms) BEGIN
2965439
+  (0.3ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13206931
2965440
+  (0.5ms) COMMIT
2965441
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965442
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965443
+  (0.1ms) BEGIN
2965444
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965445
+  (0.1ms) COMMIT
2965446
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2965447
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13291121 LIMIT 1
2965448
+  (0.1ms) BEGIN
2965449
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should use an argument here, instead of hardcoding the date.', '9623b4c2b2a379461547437e46a482ae080cd7f4', '2014-06-02 15:45:15', '@@ -1,14 +1,44 @@\n-# desc \"Explaining what the task does\"\n-# task :hubification do\n-# # Task goes here\n-# end\n-\n namespace :hubification do\n desc \"Queries a list of users\"\n task :signin => :environment do\n- client = Octokit::Client.new(:login => \'elliothursh\', :password => ENV[\'GITHUB_PASS\'])\n+ client = Hubification::GithubAPI.client\n \n user = client.user\n- puts user.name\n+ puts user.login\n+ end\n+\n+ desc \"Queries a list of users\"\n+ task :members => :environment do\n+ client = Hubification::GithubAPI.client\n+\n+ org = client.org(\'Sportngin\')\n+ puts org.name\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do\n+ time = \"2014-04-26T19:01:12Z\".to_datetime\n+\n+ client = Hubification::GithubAPI.client\n+ pulls = client.pull_requests(\'sportngin/ngin\', :state => \'closed\', :per_page => 100)\n+ pulls.each do |pull|\n+ puts pull.closed_at\n+ end\n+ end\n+\n+ desc \"Outputs pull requests from ngin until time\"\n+ task :since => :environment do\n+ pulls = Hubification::GithubAPI.since(\"2014-05-20T19:01:12Z\".to_datetime, :state => \"closed\")', 'https://github.com/sportngin/hubstats/pull/1#discussion_r13291121', 13291121, 'PullRequest', NULL, '2190b28738d5e63658efd706543de293f1c2a29a', 38, 0, NULL, 16501072, 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 20231003, '2014-06-02 21:22:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13291121', 174227)
2965450
+  (0.4ms) COMMIT
2965451
+  (0.1ms) BEGIN
2965452
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13291121
2965453
+  (0.8ms) COMMIT
2965454
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965455
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965456
+  (0.1ms) BEGIN
2965457
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965458
+  (0.1ms) COMMIT
2965459
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965460
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335436 LIMIT 1
2965461
+  (0.1ms) BEGIN
2965462
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Rather than checking here and raising `StandardError` if this condition doesn\'t pass, we can just let it fall through to the `Octokit::Client.new` call since that will raise an exception if the credentials are nil. Then it\'ll just output the same message anyway, and the code will look a lot cleaner.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:06:01', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335436', 13335436, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335436', 174227)
2965463
+  (0.4ms) COMMIT
2965464
+  (0.1ms) BEGIN
2965465
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335436
2965466
+  (0.4ms) COMMIT
2965467
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965468
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965469
+  (0.0ms) BEGIN
2965470
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965471
+  (0.1ms) COMMIT
2965472
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965473
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335507 LIMIT 1
2965474
+  (0.1ms) BEGIN
2965475
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I\'m guessing this file shouldn\'t be checked in here? Possibly not the, `test/dummy/config/octokit.yml` file either since they\'re just copies of the other example that is generated.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:07:34', '@@ -0,0 +1,5 @@\n+# Must have either this:', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335507', 13335507, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 1, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335507', 174227)
2965476
+  (0.4ms) COMMIT
2965477
+  (0.0ms) BEGIN
2965478
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335507
2965479
+  (0.4ms) COMMIT
2965480
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965481
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965482
+  (0.1ms) BEGIN
2965483
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965484
+  (0.1ms) COMMIT
2965485
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965486
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335613 LIMIT 1
2965487
+  (0.1ms) BEGIN
2965488
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s add one more test in here to make sure the `:client_id` and `:client_secret ` work.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:08:59', '@@ -2,11 +2,41 @@\n \n module Hubification\n describe GithubAPI, :type => :model do\n+ context \".configure\" do\n+ let(:access_token) { \"access_token\" }\n \n- it \'should have the client.user.login be elliothursh\' do\n- client = Hubification::GithubAPI.client\n+ context \"Config File\" do\n+ before do\n+ allow(ENV).to receive(:[]).and_return(nil)\n+ end\n+\n+ it \'should intialize with options param\' do\n+ expect(Octokit::Client).to receive(:new).with(access_token: access_token)\n+ client = Hubification::GithubAPI.configure({\"access_token\" => access_token})\n+ end', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335613', 13335613, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 17, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335613', 174227)
2965489
+  (0.5ms) COMMIT
2965490
+  (0.1ms) BEGIN
2965491
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335613
2965492
+  (0.4ms) COMMIT
2965493
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965494
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965495
+  (0.1ms) BEGIN
2965496
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965497
+  (0.1ms) COMMIT
2965498
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965499
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335642 LIMIT 1
2965500
+  (0.1ms) BEGIN
2965501
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('They\'re just called `environment` variables, not `environmental`.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:09:23', '@@ -2,11 +2,41 @@\n \n module Hubification\n describe GithubAPI, :type => :model do\n+ context \".configure\" do\n+ let(:access_token) { \"access_token\" }\n \n- it \'should have the client.user.login be elliothursh\' do\n- client = Hubification::GithubAPI.client\n+ context \"Config File\" do\n+ before do\n+ allow(ENV).to receive(:[]).and_return(nil)\n+ end\n+\n+ it \'should intialize with options param\' do\n+ expect(Octokit::Client).to receive(:new).with(access_token: access_token)\n+ client = Hubification::GithubAPI.configure({\"access_token\" => access_token})\n+ end\n+ end\n+\n+ context \"environmental variables\" do', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335642', 13335642, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 20, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335642', 174227)
2965502
+  (0.4ms) COMMIT
2965503
+  (0.0ms) BEGIN
2965504
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335642
2965505
+  (0.4ms) COMMIT
2965506
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965507
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965508
+  (0.1ms) BEGIN
2965509
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965510
+  (0.1ms) COMMIT
2965511
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965512
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13345301 LIMIT 1
2965513
+  (0.1ms) BEGIN
2965514
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It was allowing the credentials to be nil which is why I put that in there... this is making travisci fail anyways so i\'m going to figure something else out hopefully.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 16:50:37', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13345301', 13345301, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13345301', 2453875)
2965515
+  (0.4ms) COMMIT
2965516
+  (0.0ms) BEGIN
2965517
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13345301
2965518
+  (0.4ms) COMMIT
2965519
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965520
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965521
+  (0.1ms) BEGIN
2965522
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965523
+  (0.1ms) COMMIT
2965524
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965525
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13358794 LIMIT 1
2965526
+  (0.1ms) BEGIN
2965527
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You might as well raise `InvalidLogin` here instead of `StandardError`.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 20:59:53', '@@ -1,18 +1,24 @@\n module Hubification\n class GithubAPI\n \n- def self.configure(options={})\n+ def self.configure(options = {})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n else\n @client = Octokit::Client.new(\n- login: ENV[\'GITHUB_LOGIN\'] || options[\"login\"], \n- password: ENV[\'GITHUB_PASSWORD\'] || options[\"password\"]\n+ client_id: ENV[\'CLIENT_ID\'] || options[\"client_id\"], \n+ client_secret: ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"]\n )\n end\n+ # Calling API to make sure it configured properly\n+ if @client.user == nil\n+ raise StandardError', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13358794', 13358794, 'PullRequest', NULL, 'ed67bd9a51f0819d35c57542552c68a8697e9853', 18, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13358794', 174227)
2965528
+  (0.4ms) COMMIT
2965529
+  (0.0ms) BEGIN
2965530
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13358794
2965531
+  (0.4ms) COMMIT
2965532
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965533
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965534
+  (0.1ms) BEGIN
2965535
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965536
+  (0.1ms) COMMIT
2965537
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2965538
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13936229 LIMIT 1
2965539
+  (0.1ms) BEGIN
2965540
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this is just a test....', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-18 19:49:22', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13936229', 13936229, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-18 19:49:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13936229', 2453875)
2965541
+  (0.3ms) COMMIT
2965542
+  (0.0ms) BEGIN
2965543
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13936229
2965544
+  (0.4ms) COMMIT
2965545
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965546
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965547
+  (0.1ms) BEGIN
2965548
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 47750 LIMIT 1
2965549
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/47750?', '2014-07-02 14:36:29', 'https://api.github.com/users/anfleene/events{/privacy}', 'https://api.github.com/users/anfleene/followers', 'https://api.github.com/users/anfleene/following{/other_user}', 'https://api.github.com/users/anfleene/gists{/gist_id}', 'c2f4585135c0d731c95797805ff35adf', 'https://github.com/anfleene', 47750, 'anfleene', 'https://api.github.com/users/anfleene/orgs', 'https://api.github.com/users/anfleene/received_events', 'https://api.github.com/users/anfleene/repos', NULL, 0, 'https://api.github.com/users/anfleene/starred{/owner}{/repo}', 'https://api.github.com/users/anfleene/subscriptions', '2014-07-02 14:36:29', 'https://api.github.com/users/anfleene')
2965550
+  (0.6ms) COMMIT
2965551
+  (0.1ms) BEGIN
2965552
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965553
+  (0.1ms) COMMIT
2965554
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965555
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504287 LIMIT 1
2965556
+  (0.1ms) BEGIN
2965557
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no reason to keep this might as well delete it.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:38:07', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")\n+ .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n+ .joins(\'LEFT OUTER JOIN hubification_pull_requests p ON p.user_id = hubification_users.id\')\n+ .group(\"hubification_users.id\").to_sql\n+\n+ @users = Hubification::Comment.select(\"s.login, s.html_url, s.id, s.num_pulls\")\n+ .select(\"IFNULL(COUNT(hubification_comments.user_id),0) as num_comments\")\n+ .joins(\"RIGHT OUTER JOIN (#{subquery}) s ON hubification_comments.user_id = s.id\")\n+ .group(\"s.id\")\n+ .order(\"s.login DESC\")\n+\n+\n+\n+\n+\n+ # .select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504287', 13504287, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 19, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504287', 47750)
2965558
+  (0.4ms) COMMIT
2965559
+  (0.0ms) BEGIN
2965560
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504287
2965561
+  (0.4ms) COMMIT
2965562
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965563
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965564
+  (0.1ms) BEGIN
2965565
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965566
+  (0.1ms) COMMIT
2965567
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965568
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504430 LIMIT 1
2965569
+  (0.1ms) BEGIN
2965570
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Move this code into the user model called User.pull_request_counts because if you execute this it should work fine. but then you can still call \".to_sql\" like you\'re doing.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:42:03', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504430', 13504430, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 4, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504430', 47750)
2965571
+  (0.4ms) COMMIT
2965572
+  (0.1ms) BEGIN
2965573
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504430
2965574
+  (0.4ms) COMMIT
2965575
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965576
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965577
+  (0.1ms) BEGIN
2965578
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965579
+  (0.1ms) COMMIT
2965580
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965581
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504546 LIMIT 1
2965582
+  (0.1ms) BEGIN
2965583
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Move this to User as well. call it User.pull_requests_and_comments', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:44:23', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")\n+ .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n+ .joins(\'LEFT OUTER JOIN hubification_pull_requests p ON p.user_id = hubification_users.id\')\n+ .group(\"hubification_users.id\").to_sql\n+\n+ @users = Hubification::Comment.select(\"s.login, s.html_url, s.id, s.num_pulls\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504546', 13504546, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 9, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504546', 47750)
2965584
+  (0.4ms) COMMIT
2965585
+  (0.0ms) BEGIN
2965586
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504546
2965587
+  (0.4ms) COMMIT
2965588
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965589
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965590
+  (0.1ms) BEGIN
2965591
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965592
+  (0.1ms) COMMIT
2965593
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965594
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504565 LIMIT 1
2965595
+  (0.1ms) BEGIN
2965596
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Do you need this still?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:44:50', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504565', 13504565, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 1, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504565', 47750)
2965597
+  (0.4ms) COMMIT
2965598
+  (0.0ms) BEGIN
2965599
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504565
2965600
+  (0.4ms) COMMIT
2965601
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965602
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965603
+  (0.1ms) BEGIN
2965604
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965605
+  (0.1ms) COMMIT
2965606
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965607
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504655 LIMIT 1
2965608
+  (0.1ms) BEGIN
2965609
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Is id an integer that we get from github?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:47:18', '@@ -0,0 +1,14 @@\n+module Hubification\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504655', 13504655, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504655', 47750)
2965610
+  (0.4ms) COMMIT
2965611
+  (0.0ms) BEGIN
2965612
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504655
2965613
+  (0.4ms) COMMIT
2965614
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965615
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965616
+  (0.1ms) BEGIN
2965617
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965618
+  (0.1ms) COMMIT
2965619
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965620
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504809 LIMIT 1
2965621
+  (0.1ms) BEGIN
2965622
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I thought i did, but I guess not...', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:50:55', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504809', 13504809, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 1, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504809', 2453875)
2965623
+  (0.4ms) COMMIT
2965624
+  (0.1ms) BEGIN
2965625
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504809
2965626
+  (0.4ms) COMMIT
2965627
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965628
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965629
+  (0.1ms) BEGIN
2965630
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965631
+  (0.1ms) COMMIT
2965632
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965633
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504831 LIMIT 1
2965634
+  (0.1ms) BEGIN
2965635
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('yea..', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:51:32', '@@ -0,0 +1,14 @@\n+module Hubification\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504831', 13504831, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504831', 2453875)
2965636
+  (0.4ms) COMMIT
2965637
+  (0.0ms) BEGIN
2965638
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504831
2965639
+  (0.4ms) COMMIT
2965640
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965641
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965642
+  (0.1ms) BEGIN
2965643
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965644
+  (0.1ms) COMMIT
2965645
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965646
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504901 LIMIT 1
2965647
+  (0.1ms) BEGIN
2965648
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this should be a table.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:53:21', '@@ -15,6 +15,11 @@\n \n <div class=\"col col-lg-4 col-lg-offset-1\">\n <div class=\"row\">\n+ <h3> Contributors </h3>', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504901', 13504901, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 4, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504901', 47750)
2965649
+  (0.4ms) COMMIT
2965650
+  (0.0ms) BEGIN
2965651
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504901
2965652
+  (0.4ms) COMMIT
2965653
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965654
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965655
+  (0.1ms) BEGIN
2965656
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965657
+  (0.1ms) COMMIT
2965658
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965659
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506195 LIMIT 1
2965660
+  (0.1ms) BEGIN
2965661
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This is how I would get them all.\r\n```\r\nclient.paginate(\'/repos/sportngin/ngin/\'+kind, :per_page => 100, :page => 1) do |data, last_response| \r\n while last_response.rels[:next] && client.rate_limit.remaining > 0\r\n last_response = last_response.rels[:next].get\r\n data.concat(last_response.data) if last_response.data.is_a?(Array)\r\n end\r\nend\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:24:34', '@@ -45,5 +46,24 @@ def self.since(time, options={})\n return pulls\n end\n \n+ def self.all(kind, options={})\n+ options.reverse_merge!(:per_page => 30)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506195', 13506195, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 22, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506195', 47750)
2965662
+  (0.4ms) COMMIT
2965663
+  (0.0ms) BEGIN
2965664
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506195
2965665
+  (0.4ms) COMMIT
2965666
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965667
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965668
+  (0.1ms) BEGIN
2965669
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965670
+  (0.1ms) COMMIT
2965671
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965672
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506209 LIMIT 1
2965673
+  (0.1ms) BEGIN
2965674
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should use the max per page since that reduces the number of api calls.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:24:58', '@@ -45,5 +46,24 @@ def self.since(time, options={})\n return pulls\n end\n \n+ def self.all(kind, options={})\n+ options.reverse_merge!(:per_page => 30)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506209', 13506209, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 22, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506209', 47750)
2965675
+  (0.4ms) COMMIT
2965676
+  (0.0ms) BEGIN
2965677
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506209
2965678
+  (0.4ms) COMMIT
2965679
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965680
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965681
+  (0.1ms) BEGIN
2965682
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965683
+  (0.1ms) COMMIT
2965684
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965685
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506367 LIMIT 1
2965686
+  (0.1ms) BEGIN
2965687
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you don\'t need this line anymore either right?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:28:04', '@@ -1,18 +1,14 @@\n namespace :hubification do\n- desc \"Queries a list of users\"\n- task :signin => :environment do\n- client = Hubification::GithubAPI.client\n-\n- user = client.user\n- puts user.login\n- end\n \n- desc \"Queries a list of users\"\n- task :members => :environment do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n client = Hubification::GithubAPI.client', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506367', 13506367, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 14, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506367', 47750)
2965688
+  (0.5ms) COMMIT
2965689
+  (0.1ms) BEGIN
2965690
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506367
2965691
+  (0.4ms) COMMIT
2965692
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965693
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965694
+  (0.1ms) BEGIN
2965695
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965696
+  (0.1ms) COMMIT
2965697
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965698
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506405 LIMIT 1
2965699
+  (0.1ms) BEGIN
2965700
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no reason to assign this.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:29:05', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506405', 13506405, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 19, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506405', 47750)
2965701
+  (0.4ms) COMMIT
2965702
+  (0.0ms) BEGIN
2965703
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506405
2965704
+  (0.4ms) COMMIT
2965705
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965706
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965707
+  (0.1ms) BEGIN
2965708
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965709
+  (0.1ms) COMMIT
2965710
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965711
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506949 LIMIT 1
2965712
+  (0.1ms) BEGIN
2965713
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no need to assign this', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:41:18', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506949', 13506949, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 29, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506949', 47750)
2965714
+  (0.4ms) COMMIT
2965715
+  (0.0ms) BEGIN
2965716
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506949
2965717
+  (0.4ms) COMMIT
2965718
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965719
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965720
+  (0.1ms) BEGIN
2965721
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965722
+  (0.1ms) COMMIT
2965723
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965724
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508471 LIMIT 1
2965725
+  (0.1ms) BEGIN
2965726
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this is how I would populate models\r\n```\r\ndef find_or_create_user(github_user)\r\n user_data = github_user.to_h.slice(*Hubification::User.column_names.map(&:to_sym))\r\n user = Hubification::User.where(:id => user[:id]).first_or_create(user_data)\r\n return user if user.save\r\n puts user.errors.inspect\r\nend\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:20:30', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508471', 13508471, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 36, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508471', 47750)
2965727
+  (0.5ms) COMMIT
2965728
+  (0.0ms) BEGIN
2965729
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508471
2965730
+  (0.4ms) COMMIT
2965731
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965732
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965733
+  (0.1ms) BEGIN
2965734
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965735
+  (0.1ms) COMMIT
2965736
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965737
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508843 LIMIT 1
2965738
+  (0.1ms) BEGIN
2965739
+ SQL (0.4ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The algorithm from user should work here as well.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:29:12', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)\n+ member[:role] = member.delete :type ##changing :type in to :role\n+ return newUser = Hubification::User.create(member)\n+ else\n+ return oldUser\n+ end\n+end\n+\n+def find_or_create_comment(comment)\n+ user = find_or_create_user(comment[:user])', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508843', 13508843, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 45, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508843', 47750)
2965740
+  (0.6ms) COMMIT
2965741
+  (0.1ms) BEGIN
2965742
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508843
2965743
+  (0.4ms) COMMIT
2965744
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965745
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2965746
+  (0.1ms) BEGIN
2965747
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2965748
+  (0.1ms) COMMIT
2965749
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965750
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508846 LIMIT 1
2965751
+  (0.1ms) BEGIN
2965752
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('And here', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:29:21', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)\n+ member[:role] = member.delete :type ##changing :type in to :role\n+ return newUser = Hubification::User.create(member)\n+ else\n+ return oldUser\n+ end\n+end\n+\n+def find_or_create_comment(comment)\n+ user = find_or_create_user(comment[:user])\n+ if (Hubification::Comment.where(:id => comment[:id]).first).nil?\n+ comm = (comment.to_h).except(:user)\n+ newComment = Hubification::Comment.new(comm)\n+ newComment[:user_id] = user[:id]\n+ newComment.save()\n+ puts newComment.errors.inspect\n+ end\n+end\n+\n+def find_or_create_pull(pull)\n+ user = find_or_create_user(pull[:user])', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508846', 13508846, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 56, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508846', 47750)
2965753
+  (0.7ms) COMMIT
2965754
+  (0.1ms) BEGIN
2965755
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508846
2965756
+  (0.5ms) COMMIT
2965757
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965758
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965759
+  (0.1ms) BEGIN
2965760
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965761
+  (0.1ms) COMMIT
2965762
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965763
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675001 LIMIT 1
2965764
+  (0.1ms) BEGIN
2965765
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s get this puts statement out of here.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:20:51', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id\n+ \n+ belongs_to :user\n+ \n+ def self.find_or_create_comment(github_comment)\n+ (github_comment = github_comment.to_h) if github_comment.respond_to?(:to_h)\n+ \n+ user = Hubstats::User.find_or_create_user(github_comment[:user])\n+ comment_data = github_comment.slice(*Hubstats::Comment.column_names.map(&:to_sym))\n+ comment_data[:user_id] = user.id\n+\n+ comment = where(:id => comment_data[:id]).first_or_create(comment_data)\n+ return comment if comment.save\n+ puts comment.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675001', 13675001, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 16, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675001', 174227)
2965766
+  (0.4ms) COMMIT
2965767
+  (0.1ms) BEGIN
2965768
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675001
2965769
+  (0.6ms) COMMIT
2965770
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965771
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965772
+  (0.1ms) BEGIN
2965773
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965774
+  (0.1ms) COMMIT
2965775
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965776
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675072 LIMIT 1
2965777
+  (0.1ms) BEGIN
2965778
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t need the `()` here:\r\n```ruby\r\ngithub_comment = github_comment.to_h if github_comment.respond_to? :to_h\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:22:02', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id\n+ \n+ belongs_to :user\n+ \n+ def self.find_or_create_comment(github_comment)\n+ (github_comment = github_comment.to_h) if github_comment.respond_to?(:to_h)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675072', 13675072, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 8, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675072', 174227)
2965779
+  (0.4ms) COMMIT
2965780
+  (0.0ms) BEGIN
2965781
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675072
2965782
+  (0.4ms) COMMIT
2965783
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965784
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965785
+  (0.0ms) BEGIN
2965786
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965787
+  (0.1ms) COMMIT
2965788
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965789
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675111 LIMIT 1
2965790
+  (0.1ms) BEGIN
2965791
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This line is pretty long, let\'s wrap it.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:22:48', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675111', 13675111, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675111', 174227)
2965792
+  (0.4ms) COMMIT
2965793
+  (0.0ms) BEGIN
2965794
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675111
2965795
+  (0.4ms) COMMIT
2965796
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965797
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965798
+  (0.1ms) BEGIN
2965799
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965800
+  (0.1ms) COMMIT
2965801
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965802
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675162 LIMIT 1
2965803
+  (0.1ms) BEGIN
2965804
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same thing with the `()` here', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:23:36', '@@ -0,0 +1,24 @@\n+module Hubstats\n+ class PullRequest < ActiveRecord::Base\n+ attr_accessible :id, :url, :html_url, :diff_url, :patch_url, :issue_url, :commits_url,\n+ :review_comments_url, :review_comment_url, :comments_url, :statuses_url, :number,\n+ :state, :title, :body, :created_at, :updated_at, :closed_at, :merged_at, \n+ :merge_commit_sha, :merged, :mergeable, :comments, :commits, :additions,\n+ :deletions, :changed_files, :user_id\n+\n+ belongs_to :user\n+ belongs_to :merged_by, :class_name => \"User\", :foreign_key => \"merged_by_id\"\n+\n+ def self.find_or_create_pull(github_pull)\n+ (github_pull = github_pull.to_h) if github_pull.respond_to?(:to_h)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675162', 13675162, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 13, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675162', 174227)
2965805
+  (0.4ms) COMMIT
2965806
+  (0.0ms) BEGIN
2965807
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675162
2965808
+  (0.4ms) COMMIT
2965809
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965810
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965811
+  (0.1ms) BEGIN
2965812
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965813
+  (0.1ms) COMMIT
2965814
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965815
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675182 LIMIT 1
2965816
+  (0.1ms) BEGIN
2965817
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Drop this line.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:23:55', '@@ -0,0 +1,24 @@\n+module Hubstats\n+ class PullRequest < ActiveRecord::Base\n+ attr_accessible :id, :url, :html_url, :diff_url, :patch_url, :issue_url, :commits_url,\n+ :review_comments_url, :review_comment_url, :comments_url, :statuses_url, :number,\n+ :state, :title, :body, :created_at, :updated_at, :closed_at, :merged_at, \n+ :merge_commit_sha, :merged, :mergeable, :comments, :commits, :additions,\n+ :deletions, :changed_files, :user_id\n+\n+ belongs_to :user\n+ belongs_to :merged_by, :class_name => \"User\", :foreign_key => \"merged_by_id\"\n+\n+ def self.find_or_create_pull(github_pull)\n+ (github_pull = github_pull.to_h) if github_pull.respond_to?(:to_h)\n+\n+ user = Hubstats::User.find_or_create_user(github_pull[:user])\n+ pull_data = github_pull.slice(*column_names.map(&:to_sym))\n+ pull_data[:user_id] = user[:id]\n+\n+ pull = where(:id => pull_data[:id]).first_or_create(pull_data)\n+ return pull if pull.save\n+ puts pull.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675182', 13675182, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 21, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675182', 174227)
2965818
+  (0.4ms) COMMIT
2965819
+  (0.1ms) BEGIN
2965820
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675182
2965821
+  (0.4ms) COMMIT
2965822
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965823
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965824
+  (0.1ms) BEGIN
2965825
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965826
+  (0.1ms) COMMIT
2965827
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2965828
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675198 LIMIT 1
2965829
+  (0.1ms) BEGIN
2965830
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Another puts statement.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:24:15', '@@ -0,0 +1,39 @@\n+module Hubstats\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,\n+ :following_url, :gists_url, :starred_url, :subscriptions_url, :organizations_url,\n+ :repos_url, :events_url, :received_events_url, :role, :site_admin\n+ \n+ validates :id, presence: true, uniqueness: true\n+\n+ has_many :comments\n+ has_many :repos, :class_name => \"Repo\"\n+ has_many :pull_requests\n+ has_many :merged_pulls, :class_name => \"PullRequest\", :foreign_key => \"number\"\n+\n+ def self.find_or_create_user(github_user)\n+ github_user[:role] = github_user.delete :type ##changing :type in to :role\n+ github_user = github_user.to_h unless github_user.is_a? Hash\n+ user_data = github_user.slice(*Hubstats::User.column_names.map(&:to_sym))\n+ user = Hubstats::User.where(:id => user_data[:id]).first_or_create(user_data)\n+ return user if user.save\n+ puts user.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675198', 13675198, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 20, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675198', 174227)
2965831
+  (0.4ms) COMMIT
2965832
+  (0.0ms) BEGIN
2965833
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675198
2965834
+  (0.4ms) COMMIT
2965835
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965836
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
2965837
+  (0.1ms) BEGIN
2965838
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 314014 LIMIT 1
2965839
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/314014?', '2014-07-02 14:36:29', 'https://api.github.com/users/NickLaMuro/events{/privacy}', 'https://api.github.com/users/NickLaMuro/followers', 'https://api.github.com/users/NickLaMuro/following{/other_user}', 'https://api.github.com/users/NickLaMuro/gists{/gist_id}', '9d49804b4c96a1fa8a7a18381994eadb', 'https://github.com/NickLaMuro', 314014, 'NickLaMuro', 'https://api.github.com/users/NickLaMuro/orgs', 'https://api.github.com/users/NickLaMuro/received_events', 'https://api.github.com/users/NickLaMuro/repos', NULL, 0, 'https://api.github.com/users/NickLaMuro/starred{/owner}{/repo}', 'https://api.github.com/users/NickLaMuro/subscriptions', '2014-07-02 14:36:29', 'https://api.github.com/users/NickLaMuro')
2965840
+  (0.5ms) COMMIT
2965841
+  (0.0ms) BEGIN
2965842
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
2965843
+  (0.1ms) COMMIT
2965844
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965845
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13720189 LIMIT 1
2965846
+  (0.1ms) BEGIN
2965847
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Couple of things you can do here:\r\n\r\nFirst off, you should really turn the first line into scopes on your models:\r\n\r\n ```ruby\r\n# Hubstats::PullRequest\r\nscope :last_two_weeks -> { where([\"closed_at > \'%s\'\", 2.weeks.ago]) }\r\nscope :closed_at_desc -> { order(\"closed_at DESC\") }\r\n\r\n@pull_requests = Hubstats::PullRequest.last_two_weeks.closed_at_desc\r\n```\r\n\r\nFor a couple of reasons:\r\n\r\n1. SQL will **always** be faster then ruby at sorting, so using `.order` is very much prefered.\r\n2. Scopes dry up the code a little bit and allow you to reuse the code a bit, as well as make changes in just one spot.\r\n3. It frankly is just easier to read from a controller perspective.\r\n\r\n\r\nWith the `@users` one, you probably could just include the sorting in the method itself. Again, you probably can do this via SQL, so that would be preferred.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:05:41', '@@ -0,0 +1,10 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class RepoController < ApplicationController\n+ def show\n+ @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13720189', 13720189, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 7, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13720189', 314014)
2965848
+  (0.4ms) COMMIT
2965849
+  (0.0ms) BEGIN
2965850
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13720189
2965851
+  (0.4ms) COMMIT
2965852
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965853
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
2965854
+  (0.1ms) BEGIN
2965855
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
2965856
+  (0.1ms) COMMIT
2965857
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965858
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13720225 LIMIT 1
2965859
+  (0.1ms) BEGIN
2965860
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This seems more like an `index` action, and not a show action.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:06:20', '@@ -0,0 +1,10 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class RepoController < ApplicationController\n+ def show', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13720225', 13720225, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 5, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13720225', 314014)
2965861
+  (0.4ms) COMMIT
2965862
+  (0.0ms) BEGIN
2965863
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13720225
2965864
+  (0.4ms) COMMIT
2965865
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965866
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
2965867
+  (0.1ms) BEGIN
2965868
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
2965869
+  (0.1ms) COMMIT
2965870
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965871
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13721239 LIMIT 1
2965872
+  (0.1ms) BEGIN
2965873
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same as above.\r\n\r\nAlso, instead of `[0..30]`, use `limit(30)`. Doing `[0..30]` will cause it to make a SQL call grabbing ALL the records in the DB, instantiating them as `ActiveRecord` objects, only to take 30 of them to display. `limit(30)` will only grab the first 30 that it finds in the database and return those.\r\n\r\nThat said, for it to work right, it will require that you are sorting on the database level, which you should.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:26:07', '@@ -4,8 +4,8 @@ module Hubstats\n class SplashController < ApplicationController\n def index\n \n- @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n- @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}\n+ @repos = Hubstats::Repo.where([\"updated_at > \'%s\'\", 1.months.ago]).sort{|a,b| b.updated_at <=> a.updated_at}\n+ @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}[0..30]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13721239', 13721239, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 7, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13721239', 314014)
2965874
+  (0.4ms) COMMIT
2965875
+  (0.0ms) BEGIN
2965876
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13721239
2965877
+  (0.5ms) COMMIT
2965878
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965879
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
2965880
+  (0.1ms) BEGIN
2965881
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
2965882
+  (0.1ms) COMMIT
2965883
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965884
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13721270 LIMIT 1
2965885
+  (0.1ms) BEGIN
2965886
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think that `1.month.ago` also works. I would double check, but that reads just a bit better :)', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:26:44', '@@ -4,8 +4,8 @@ module Hubstats\n class SplashController < ApplicationController\n def index\n \n- @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n- @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}\n+ @repos = Hubstats::Repo.where([\"updated_at > \'%s\'\", 1.months.ago]).sort{|a,b| b.updated_at <=> a.updated_at}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13721270', 13721270, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 6, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13721270', 314014)
2965887
+  (0.4ms) COMMIT
2965888
+  (0.0ms) BEGIN
2965889
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13721270
2965890
+  (0.4ms) COMMIT
2965891
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965892
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965893
+  (0.1ms) BEGIN
2965894
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965895
+  (0.1ms) COMMIT
2965896
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965897
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13820945 LIMIT 1
2965898
+  (0.1ms) BEGIN
2965899
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It looks like this should be filtering the pull requests by repo instead of just getting all of them.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:10:29', '@@ -0,0 +1,19 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class PullRequestsController < ApplicationController\n+\n+ def index\n+ @repo = Hubstats::Repo.where(name: params[:repo]).first\n+ @pull_requests = Hubstats::PullRequest.all', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13820945', 13820945, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 8, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13820945', 174227)
2965900
+  (0.4ms) COMMIT
2965901
+  (0.0ms) BEGIN
2965902
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13820945
2965903
+  (0.4ms) COMMIT
2965904
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965905
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965906
+  (0.1ms) BEGIN
2965907
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965908
+  (0.1ms) COMMIT
2965909
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965910
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13820981 LIMIT 1
2965911
+  (0.1ms) BEGIN
2965912
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Or if this is supposed to be an index action for **all** pull requests, then `@repo` shouldn\'t be set.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:11:15', '@@ -0,0 +1,19 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class PullRequestsController < ApplicationController\n+\n+ def index\n+ @repo = Hubstats::Repo.where(name: params[:repo]).first\n+ @pull_requests = Hubstats::PullRequest.all', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13820981', 13820981, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 8, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13820981', 174227)
2965913
+  (0.4ms) COMMIT
2965914
+  (0.1ms) BEGIN
2965915
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13820981
2965916
+  (0.4ms) COMMIT
2965917
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965918
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965919
+  (0.1ms) BEGIN
2965920
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965921
+  (0.1ms) COMMIT
2965922
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965923
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13821439 LIMIT 1
2965924
+  (0.1ms) BEGIN
2965925
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The more semantic way of writing these scopes would be:\r\n\r\n```ruby\r\nscope :belonging_to_user, lambda {|user_id| where(user_id: user_id)}\r\n```', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:19:29', '@@ -1,17 +1,25 @@\n module Hubstats\n class Comment < ActiveRecord::Base\n+ scope :created_since, lambda {|time| where(\"created_at > ?\", time).order(\"closed_at DESC\") }\n+ scope :belonging_to_pull_request, lambda {|pull_request_id| where(\"pull_request_id = ?\", pull_request_id)}\n+ scope :belonging_to_user, lambda {|user_id| where(\"user_id = ?\", user_id)}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13821439', 13821439, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 5, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13821439', 174227)
2965926
+  (0.4ms) COMMIT
2965927
+  (0.1ms) BEGIN
2965928
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13821439
2965929
+  (0.4ms) COMMIT
2965930
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965931
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965932
+  (0.1ms) BEGIN
2965933
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965934
+  (0.1ms) COMMIT
2965935
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965936
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13821767 LIMIT 1
2965937
+  (0.1ms) BEGIN
2965938
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('What\'s the purpose of this logic? It doesn\'t look like there\'s a `user_id` field on repo, and I don\'t think we\'d really care about that anyway.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:24:42', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13821767', 13821767, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13821767', 174227)
2965939
+  (0.4ms) COMMIT
2965940
+  (0.0ms) BEGIN
2965941
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13821767
2965942
+  (0.4ms) COMMIT
2965943
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965944
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965945
+  (0.1ms) BEGIN
2965946
+ Hubstats::User Exists (0.3ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965947
+  (0.1ms) COMMIT
2965948
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965949
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13822047 LIMIT 1
2965950
+  (0.1ms) BEGIN
2965951
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It doesn\'t look like you\'re using this method anywhere. Is this intended for the dashboard?\r\n\r\nAlso, some of this can be moved to scopes on `Comment`. You even already have the `created_since` scope written.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:29:46', '@@ -24,16 +24,30 @@ def self.pull_request_counts\n self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n+ .where(\"p.closed_at > ?\", 2.weeks.ago)\n+ .group(\"hubstats_users.id\")\n+ end\n+\n+ def self.comment_counts', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13822047', 13822047, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 23, 0, 23, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13822047', 174227)
2965952
+  (0.4ms) COMMIT
2965953
+  (0.0ms) BEGIN
2965954
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13822047
2965955
+  (0.4ms) COMMIT
2965956
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965957
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965958
+  (0.1ms) BEGIN
2965959
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965960
+  (0.1ms) COMMIT
2965961
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965962
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827202 LIMIT 1
2965963
+  (0.1ms) BEGIN
2965964
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s get the `populate:all` task to invoke the other tasks.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:02:47', '@@ -19,22 +25,51 @@ namespace :populate do\n end\n \n desc \"Pull pull requests from Github saves in database\"\n- task :pulls => :environment do\n- pulls = Hubstats::GithubAPI.all(\"pulls\")\n+ task :pulls, [:repo] => :environment do |t, args|\n+ raise ArgumentError, \"Must be called with repo argument. [repos/sportngin/:repo]\" if args.repo.nil?\n+\n+ pulls = Hubstats::GithubAPI.all(args.repo,\"pulls\")\n \n pulls.each do |pull|\n pr = Hubstats::PullRequest.find_or_create_pull(pull)\n end\n end\n \n- desc \"Pull members,comments and pulls from Github save to database\"\n+ desc \"Pull repos from Github save to database\"\n task :all => :environment do', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827202', 13827202, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 47, 0, 51, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827202', 174227)
2965965
+  (0.4ms) COMMIT
2965966
+  (0.1ms) BEGIN
2965967
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827202
2965968
+  (0.4ms) COMMIT
2965969
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965970
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965971
+  (0.1ms) BEGIN
2965972
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965973
+  (0.1ms) COMMIT
2965974
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965975
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827277 LIMIT 1
2965976
+  (0.1ms) BEGIN
2965977
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s not commit this one.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:04:15', '@@ -0,0 +1,57 @@\n+namespace :test do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n+ contributors = Hubstats::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ puts contributor.login\n+ end\n+\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827277', 13827277, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 13, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827277', 174227)
2965978
+  (0.4ms) COMMIT
2965979
+  (0.0ms) BEGIN
2965980
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827277
2965981
+  (0.4ms) COMMIT
2965982
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965983
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2965984
+  (0.1ms) BEGIN
2965985
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2965986
+  (0.1ms) COMMIT
2965987
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2965988
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827358 LIMIT 1
2965989
+  (0.1ms) BEGIN
2965990
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('We should remove references to `ngin` or `sportngin` in this file before merging. Either make the tasks more generic, or just remove the ones we don\'t need.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:05:41', '@@ -0,0 +1,57 @@\n+namespace :test do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n+ contributors = Hubstats::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ puts contributor.login\n+ end\n+\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do\n+ time = \"2014-04-26T19:01:12Z\".to_datetime\n+\n+ client = Hubstats::GithubAPI.client\n+ pulls = client.pull_requests(\'sportngin/ngin\', :state => \'closed\', :per_page => 100)\n+ pulls.each do |pull|\n+ puts pull.closed_at\n+ end\n+ end\n+\n+ desc \"Outputs pull requests from ngin until time\"', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827358', 13827358, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 23, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827358', 174227)
2965991
+  (0.4ms) COMMIT
2965992
+  (0.0ms) BEGIN
2965993
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827358
2965994
+  (0.4ms) COMMIT
2965995
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2965996
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2965997
+  (0.1ms) BEGIN
2965998
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2965999
+  (0.1ms) COMMIT
2966000
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966001
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13828470 LIMIT 1
2966002
+  (0.1ms) BEGIN
2966003
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('it was supposed to be owner_id... should be fixed now.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:27:39', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13828470', 13828470, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13828470', 2453875)
2966004
+  (0.3ms) COMMIT
2966005
+  (0.0ms) BEGIN
2966006
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13828470
2966007
+  (0.3ms) COMMIT
2966008
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966009
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966010
+  (0.1ms) BEGIN
2966011
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966012
+  (0.1ms) COMMIT
2966013
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966014
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13828942 LIMIT 1
2966015
+  (0.1ms) BEGIN
2966016
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('`owner_id` meaning the organization? If so, then I guess that\'s fine to keep. If it\'s just the user that created the repo or the \"owners\" of the organization, I don\'t think we\'ll ever really need that.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:37:09', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13828942', 13828942, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13828942', 174227)
2966017
+  (0.6ms) COMMIT
2966018
+  (0.1ms) BEGIN
2966019
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13828942
2966020
+  (0.4ms) COMMIT
2966021
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966022
+ Hubstats::User Load (33.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966023
+  (0.1ms) BEGIN
2966024
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966025
+  (0.1ms) COMMIT
2966026
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966027
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13865333 LIMIT 1
2966028
+  (0.1ms) BEGIN
2966029
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('in future I will make this a parameter,', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:22:25', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13865333', 13865333, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 15, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13865333', 2453875)
2966030
+  (0.4ms) COMMIT
2966031
+  (0.1ms) BEGIN
2966032
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13865333
2966033
+  (0.4ms) COMMIT
2966034
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966035
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966036
+  (0.1ms) BEGIN
2966037
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966038
+  (0.1ms) COMMIT
2966039
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966040
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866405 LIMIT 1
2966041
+  (0.1ms) BEGIN
2966042
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should just use `length` here, `count` will trigger another SQL query. If it were possible that you weren\'t going to iterate over `@users` later on, then using `count` could make sense because it would save you from creating all of those ActiveRecord objects.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:38:00', '@@ -4,22 +4,23 @@ module Hubstats\n class ReposController < ApplicationController\n def index\n @repos = Hubstats::Repo.with_recent_activity\n- @users = Hubstats::User.pull_requests_and_comments\n+ @users = Hubstats::User.with_recent_activity\n @stats = {\n- user_count: Hubstats::User.count(:all),\n+ user_count: @users.count(:all),', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866405', 13866405, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 8, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866405', 174227)
2966043
+  (0.5ms) COMMIT
2966044
+  (0.1ms) BEGIN
2966045
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866405
2966046
+  (0.4ms) COMMIT
2966047
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966048
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966049
+  (0.1ms) BEGIN
2966050
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966051
+  (0.1ms) COMMIT
2966052
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966053
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866694 LIMIT 1
2966054
+  (0.1ms) BEGIN
2966055
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You already have a scope that does this: `User.belonging_to_repo`\r\n\r\nYou\'re also never using this anywhere.\r\n\r\nGenerally, with scopes, you want to keep scopes on the classes that you\'re that you\'re selecting from. In this case you\'re finding users, so the scope should be on `User`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:41:44', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866694', 13866694, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866694', 174227)
2966056
+  (0.4ms) COMMIT
2966057
+  (0.1ms) BEGIN
2966058
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866694
2966059
+  (0.4ms) COMMIT
2966060
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966061
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966062
+  (0.1ms) BEGIN
2966063
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966064
+  (0.1ms) COMMIT
2966065
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966066
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866800 LIMIT 1
2966067
+  (0.1ms) BEGIN
2966068
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Sorry, you didn\'t already have a scope for this on User, but that\'s where it should be.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:43:17', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866800', 13866800, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866800', 174227)
2966069
+  (0.4ms) COMMIT
2966070
+  (0.1ms) BEGIN
2966071
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866800
2966072
+  (0.4ms) COMMIT
2966073
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966074
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966075
+  (0.1ms) BEGIN
2966076
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966077
+  (0.1ms) COMMIT
2966078
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966079
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866951 LIMIT 1
2966080
+  (0.1ms) BEGIN
2966081
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The name of this implies that if you call this method you get back a list of users with their comments loaded as well. A better name for this would be `user_comment_counts`. This should also probably be a scope on `Comment` instead of a class method on `User`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:45:23', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866951', 13866951, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866951', 174227)
2966082
+  (0.4ms) COMMIT
2966083
+  (0.1ms) BEGIN
2966084
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866951
2966085
+  (0.4ms) COMMIT
2966086
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966087
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966088
+  (0.1ms) BEGIN
2966089
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966090
+  (0.1ms) COMMIT
2966091
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966092
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866965 LIMIT 1
2966093
+  (0.1ms) BEGIN
2966094
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same kind of deal here as the one above.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:45:39', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866965', 13866965, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 19, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866965', 174227)
2966095
+  (0.4ms) COMMIT
2966096
+  (0.0ms) BEGIN
2966097
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866965
2966098
+  (0.4ms) COMMIT
2966099
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966100
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966101
+  (0.1ms) BEGIN
2966102
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966103
+  (0.1ms) COMMIT
2966104
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966105
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867039 LIMIT 1
2966106
+  (0.1ms) BEGIN
2966107
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('And actually, if it were a scope, I\'d name it something like `Comment.counts_by_user`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:46:33', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867039', 13867039, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867039', 174227)
2966108
+  (0.4ms) COMMIT
2966109
+  (0.0ms) BEGIN
2966110
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867039
2966111
+  (0.4ms) COMMIT
2966112
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966113
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966114
+  (0.1ms) BEGIN
2966115
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966116
+  (0.1ms) COMMIT
2966117
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966118
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867341 LIMIT 1
2966119
+  (0.1ms) BEGIN
2966120
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this was extraneous, I was trying something that didn\'t work as planned forgot to delete', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:50:35', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867341', 13867341, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867341', 2453875)
2966121
+  (0.4ms) COMMIT
2966122
+  (0.0ms) BEGIN
2966123
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867341
2966124
+  (0.4ms) COMMIT
2966125
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966126
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966127
+  (0.1ms) BEGIN
2966128
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966129
+  (0.1ms) COMMIT
2966130
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966131
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867367 LIMIT 1
2966132
+  (0.1ms) BEGIN
2966133
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This one should be moved into PullRequest', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:50:46', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867367', 13867367, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 32, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867367', 174227)
2966134
+  (0.4ms) COMMIT
2966135
+  (0.0ms) BEGIN
2966136
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867367
2966137
+  (0.4ms) COMMIT
2966138
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966139
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966140
+  (0.0ms) BEGIN
2966141
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966142
+  (0.1ms) COMMIT
2966143
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966144
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867395 LIMIT 1
2966145
+  (0.1ms) BEGIN
2966146
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This one can stay in user, but I\'d try to make it a scope (or a couple scopes) instead.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:51:15', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments\n+ Hubstats::PullRequest.select(\"hubstats_pull_requests.user_id\")\n+ .select(\"IFNULL(COUNT(hubstats_pull_requests.user_id),0) as user_pulls\")\n+ .select(\"IFNULL(user_comments,0) as user_comments\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_comments().to_sql}) c ON c.user_id = hubstats_pull_requests.user_id\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.comments_and_pulls\n+ Hubstats::Comment.select(\"hubstats_comments.user_id\")\n+ .select(\"IFNULL(user_pulls,0) as user_pulls\")\n+ .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as user_comments\")\n+ .select(\"IFNULL(user_pulls,0) as user_pulls\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_pulls().to_sql}) c ON c.user_id = hubstats_comments.user_id\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n+ def self.with_recent_activity\n+ Hubstats::User.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867395', 13867395, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 60, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867395', 174227)
2966147
+  (0.4ms) COMMIT
2966148
+  (0.0ms) BEGIN
2966149
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867395
2966150
+  (0.4ms) COMMIT
2966151
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966152
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966153
+  (0.1ms) BEGIN
2966154
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966155
+  (0.1ms) COMMIT
2966156
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966157
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867461 LIMIT 1
2966158
+  (0.1ms) BEGIN
2966159
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I don\'t want to scope this, because I\'m going to switch it to include an optional parameter which enables filtering by repo.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:51:51', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867461', 13867461, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867461', 2453875)
2966160
+  (0.4ms) COMMIT
2966161
+  (0.1ms) BEGIN
2966162
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867461
2966163
+  (0.4ms) COMMIT
2966164
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966165
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966166
+  (0.1ms) BEGIN
2966167
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966168
+  (0.1ms) COMMIT
2966169
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966170
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867501 LIMIT 1
2966171
+  (0.1ms) BEGIN
2966172
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Why do you have `pulls_and_comments` and `comments_and_pulls`? This is really confusing, and I have no idea what these methods are supposed to return.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:52:30', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments\n+ Hubstats::PullRequest.select(\"hubstats_pull_requests.user_id\")\n+ .select(\"IFNULL(COUNT(hubstats_pull_requests.user_id),0) as user_pulls\")\n+ .select(\"IFNULL(user_comments,0) as user_comments\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_comments().to_sql}) c ON c.user_id = hubstats_pull_requests.user_id\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.comments_and_pulls', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867501', 13867501, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 49, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867501', 174227)
2966173
+  (0.4ms) COMMIT
2966174
+  (0.0ms) BEGIN
2966175
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867501
2966176
+  (0.4ms) COMMIT
2966177
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966178
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966179
+  (0.1ms) BEGIN
2966180
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966181
+  (0.1ms) COMMIT
2966182
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966183
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13880364 LIMIT 1
2966184
+  (0.1ms) BEGIN
2966185
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Remove this extra newline.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 19:40:51', '@@ -20,30 +46,13 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n- end\n-\n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n- end\n-\n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.with_recent_activity(time, repo_id = nil)\n+ if repo_id\n+ pull_requests_count_by_repo(time,repo_id).comments_count_by_repo(time,repo_id).only_active.weighted_sort\n+ else\n+ pull_requests_count(time).comments_count(time).only_active.weighted_sort\n+ ', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13880364', 13880364, 'PullRequest', NULL, 'de7ba49b3ab8011124ae587c2ccf48c032bc3639', 65, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13880364', 174227)
2966186
+  (0.4ms) COMMIT
2966187
+  (0.0ms) BEGIN
2966188
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13880364
2966189
+  (0.3ms) COMMIT
2966190
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966191
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966192
+  (0.1ms) BEGIN
2966193
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966194
+  (0.1ms) COMMIT
2966195
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966196
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13926978 LIMIT 1
2966197
+  (0.1ms) BEGIN
2966198
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This is realistically the only thing that needs to be looked at.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-18 17:08:25', '@@ -14,3 +14,43 @@\n //= require jquery_ujs\n //= require hubstats/bootstrap\n //= require_tree .', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13926978', 13926978, 'PullRequest', NULL, 'a84cb032c3786017396a8719e946ad331bac5f8f', 3, 0, 3, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13926978', 2453875)
2966199
+  (0.4ms) COMMIT
2966200
+  (0.0ms) BEGIN
2966201
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13926978
2966202
+  (0.4ms) COMMIT
2966203
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966204
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966205
+  (0.1ms) BEGIN
2966206
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966207
+  (0.1ms) COMMIT
2966208
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966209
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13927008 LIMIT 1
2966210
+  (0.1ms) BEGIN
2966211
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Maybe this too..', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-18 17:08:53', '@@ -1,4 +1,12 @@\n module Hubstats\n class ApplicationController < ActionController::Base', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13927008', 13927008, 'PullRequest', NULL, 'a84cb032c3786017396a8719e946ad331bac5f8f', 2, 0, 2, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13927008', 2453875)
2966212
+  (0.4ms) COMMIT
2966213
+  (0.1ms) BEGIN
2966214
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13927008
2966215
+  (0.4ms) COMMIT
2966216
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966217
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966218
+  (0.1ms) BEGIN
2966219
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966220
+  (0.1ms) COMMIT
2966221
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966222
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977271 LIMIT 1
2966223
+  (0.1ms) BEGIN
2966224
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Shouldn\'t this be `Hubstats::Repo.belonging_to_user(@user.id)` or something', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:14:43', '@@ -0,0 +1,17 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class UsersController < ApplicationController\n+\n+ def index \n+ @users = Hubstats::User.with_pulls_or_comments(@timespan)\n+ end\n+\n+ def show\n+ @user = Hubstats::User.where(login: params[:id]).first\n+ @pulls = Hubstats::PullRequest.belonging_to_user(@user.id).closed_since(@timespan)\n+ @comments = Hubstats::Comment.belonging_to_user(@user.id).created_since(@timespan)\n+ @repos = Hubstats::Repo', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977271', 13977271, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 14, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977271', 47750)
2966225
+  (0.5ms) COMMIT
2966226
+  (0.0ms) BEGIN
2966227
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977271
2966228
+  (0.4ms) COMMIT
2966229
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966230
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966231
+  (0.1ms) BEGIN
2966232
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966233
+  (0.1ms) COMMIT
2966234
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966235
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977372 LIMIT 1
2966236
+  (0.1ms) BEGIN
2966237
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This feels like 3 separate data fields that should have their own td.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:16:13', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977372', 13977372, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977372', 47750)
2966238
+  (0.4ms) COMMIT
2966239
+  (0.1ms) BEGIN
2966240
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977372
2966241
+  (0.4ms) COMMIT
2966242
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966243
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966244
+  (0.1ms) BEGIN
2966245
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966246
+  (0.1ms) COMMIT
2966247
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966248
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977393 LIMIT 1
2966249
+  (0.1ms) BEGIN
2966250
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You could add headers then as well.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:16:35', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977393', 13977393, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977393', 47750)
2966251
+  (0.4ms) COMMIT
2966252
+  (0.0ms) BEGIN
2966253
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977393
2966254
+  (0.4ms) COMMIT
2966255
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966256
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966257
+  (0.1ms) BEGIN
2966258
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966259
+  (0.1ms) COMMIT
2966260
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966261
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977442 LIMIT 1
2966262
+  (0.1ms) BEGIN
2966263
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This should probably be 2 tds as well.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:17:21', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @repos.each do |repo| %>\n+ <tr>\n+ <td><%= link_to repo.name, repo_path(repo)%> <%= distance_of_time_in_words(DateTime.now,repo.updated_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977442', 13977442, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977442', 47750)
2966264
+  (0.4ms) COMMIT
2966265
+  (0.0ms) BEGIN
2966266
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977442
2966267
+  (0.4ms) COMMIT
2966268
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966269
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966270
+  (0.1ms) BEGIN
2966271
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966272
+  (0.1ms) COMMIT
2966273
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966274
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977477 LIMIT 1
2966275
+  (0.1ms) BEGIN
2966276
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('These should be th\'s not tds. You would probably remove the styling and then just style the th.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:17:58', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977477', 13977477, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977477', 47750)
2966277
+  (0.8ms) COMMIT
2966278
+  (0.1ms) BEGIN
2966279
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977477
2966280
+  (0.4ms) COMMIT
2966281
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966282
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966283
+  (0.1ms) BEGIN
2966284
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966285
+  (0.1ms) COMMIT
2966286
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966287
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977530 LIMIT 1
2966288
+  (0.1ms) BEGIN
2966289
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I would rather give this like a numeric class or something that then styles the numbers to be aligned center.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:18:56', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>\n+ <td align=\"center\"><h5> Pull Requests </h5></td>\n+ <td align=\"center\"><h5> Comments </h5></td>\n+ </tr>\n+ <% @users.each do |user| %>\n+ <tr>\n+ <td><%= link_to user.login, user_path(user) %> </td>\n+ <td align=\"center\"><%= user.pull_request_count %> </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977530', 13977530, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 10, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977530', 47750)
2966290
+  (0.4ms) COMMIT
2966291
+  (0.0ms) BEGIN
2966292
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977530
2966293
+  (0.4ms) COMMIT
2966294
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966295
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966296
+  (0.1ms) BEGIN
2966297
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966298
+  (0.1ms) COMMIT
2966299
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966300
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13978156 LIMIT 1
2966301
+  (0.1ms) BEGIN
2966302
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I put it as one td because it’s more of a blurb of info, which I feel doesn’t really lend itself to being table-ized\r\nOn Jun 19, 2014, at 11:16 AM, Andy Fleener <notifications@github.com> wrote:\r\n\r\n> In app/views/hubstats/metrics/_pulls_table.html.erb:\r\n> \r\n> > @@ -0,0 +1,7 @@\r\n> > +<table class=\"table\">\r\n> > + <% @pull_requests.each do |pull| %>\r\n> > + <tr>\r\n> > + <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>\r\n> This feels like 3 separate data fields that should have their own td.\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> ', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:28:58', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13978156', 13978156, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13978156', 2453875)
2966303
+  (0.3ms) COMMIT
2966304
+  (0.1ms) BEGIN
2966305
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13978156
2966306
+  (0.4ms) COMMIT
2966307
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966308
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966309
+  (0.1ms) BEGIN
2966310
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966311
+  (0.1ms) COMMIT
2966312
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966313
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13978363 LIMIT 1
2966314
+  (0.1ms) BEGIN
2966315
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Ok if you don\'t want it to be a table thats fine, but don\'t use a table use a collection of div\'s instead.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:32:41', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13978363', 13978363, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13978363', 47750)
2966316
+  (0.4ms) COMMIT
2966317
+  (0.0ms) BEGIN
2966318
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13978363
2966319
+  (0.4ms) COMMIT
2966320
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966321
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966322
+  (0.0ms) BEGIN
2966323
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966324
+  (0.1ms) COMMIT
2966325
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966326
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979509 LIMIT 1
2966327
+  (0.1ms) BEGIN
2966328
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you probably don\'t need an h5 here you can just style the th\'s to look similar to the h5', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:52:42', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <th><h5> Pull Request</h5></th>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979509', 13979509, 'PullRequest', NULL, 'f889386c8f6dd921858c2045c240545659ef6e96', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979509', 47750)
2966329
+  (0.4ms) COMMIT
2966330
+  (0.0ms) BEGIN
2966331
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979509
2966332
+  (0.8ms) COMMIT
2966333
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966334
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966335
+  (0.1ms) BEGIN
2966336
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966337
+  (0.1ms) COMMIT
2966338
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966339
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979572 LIMIT 1
2966340
+  (0.1ms) BEGIN
2966341
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you missed this one, it\'s still a td', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:53:46', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979572', 13979572, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979572', 47750)
2966342
+  (0.4ms) COMMIT
2966343
+  (0.0ms) BEGIN
2966344
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979572
2966345
+  (0.4ms) COMMIT
2966346
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966347
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966348
+  (0.1ms) BEGIN
2966349
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966350
+  (0.1ms) COMMIT
2966351
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966352
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979599 LIMIT 1
2966353
+  (0.1ms) BEGIN
2966354
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this should be indented', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:54:21', '@@ -0,0 +1,13 @@\n+<div class=\"container\" id=\"header\">\n+ <div class=\"pull-left\">\n+ <div class=\"title\"> <%= link_to \"Hubstats: Github Metrics\", root_path %> </div>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979599', 13979599, 'PullRequest', NULL, 'f889386c8f6dd921858c2045c240545659ef6e96', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979599', 47750)
2966355
+  (0.4ms) COMMIT
2966356
+  (0.0ms) BEGIN
2966357
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979599
2966358
+  (0.4ms) COMMIT
2966359
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966360
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966361
+  (0.1ms) BEGIN
2966362
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966363
+  (0.1ms) COMMIT
2966364
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966365
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14029004 LIMIT 1
2966366
+  (0.1ms) BEGIN
2966367
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I actually like how you had these raising `ArgumentError` before, it looked cleaner.', '91da2bb996fec490e2a02632e845dd3a384c33d4', '2014-06-20 16:40:13', '@@ -2,8 +2,8 @@ namespace :populate do\n \n desc \"Pull members from Github saves in database\"\n task :users, [:repo] => :environment do |t, args|\n- raise ArgumentError, \"Must be called with repo argument. [:org/:repo]\" if args[:repo].nil?\n- puts \"Adding contributors to \" + args[:repo]\n+ args[:repo] ? (repo = args[:repo]) : (raise ArgumentError, \"Must be called with repo argument. [:org/:repo]\")', 'https://github.com/sportngin/hubstats/pull/11#discussion_r14029004', 14029004, 'PullRequest', NULL, '62ed09e4a978aa37cc83aecfb449638f300668ee', 6, 0, NULL, 17414868, 'https://api.github.com/repos/sportngin/hubstats/pulls/11', 20231003, '2014-06-20 19:39:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14029004', 174227)
2966368
+  (0.8ms) COMMIT
2966369
+  (0.1ms) BEGIN
2966370
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14029004
2966371
+  (0.4ms) COMMIT
2966372
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966373
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966374
+  (0.1ms) BEGIN
2966375
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966376
+  (0.1ms) COMMIT
2966377
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1
2966378
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14038612 LIMIT 1
2966379
+  (0.1ms) BEGIN
2966380
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You can also use `render :nothing => true` if you don\'t want to return anything.', 'f2076829d409206eca85692632770020d341bf1e', '2014-06-20 20:02:00', '@@ -0,0 +1,17 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class EventsController < ApplicationController\n+\n+ def handler\n+ kind = request.headers[\'X-Github-Event\']\n+ event = params.with_indifferent_access\n+\n+ eventsHandler = Hubstats::EventsHandler.new()\n+ eventsHandler.route(event,kind)\n+\n+ render :text => \"\"', 'https://github.com/sportngin/hubstats/pull/12#discussion_r14038612', 14038612, 'PullRequest', NULL, 'bfcf95e7891a257dbba344308499c5236caa6fcd', 13, 0, NULL, 17423995, 'https://api.github.com/repos/sportngin/hubstats/pulls/12', 20231003, '2014-06-20 21:37:07', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14038612', 174227)
2966381
+  (0.4ms) COMMIT
2966382
+  (0.1ms) BEGIN
2966383
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14038612
2966384
+  (0.4ms) COMMIT
2966385
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966386
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966387
+  (0.1ms) BEGIN
2966388
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966389
+  (0.1ms) COMMIT
2966390
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966391
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14095988 LIMIT 1
2966392
+  (0.1ms) BEGIN
2966393
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('If you\'re doing `update_attributes` here, you don\'t need to `save` on the next line. `update_attributes` performs the save.', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:19', '@@ -14,16 +14,17 @@ class Repo < ActiveRecord::Base\n has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- def self.find_or_create_repo(github_repo)\n+ def self.create_or_update_repo(github_repo)\n github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n if github_repo[:owner]\n- user = Hubstats::User.find_or_create_user(github_repo[:owner])\n+ user = Hubstats::User.create_or_update_user(github_repo[:owner])\n repo_data[:owner_id] = user[:id]\n end\n \n repo = where(:id => repo_data[:id]).first_or_create(repo_data)\n+ repo.update_attributes(repo_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14095988', 14095988, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 25, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14095988', 174227)
2966394
+  (0.4ms) COMMIT
2966395
+  (0.1ms) BEGIN
2966396
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14095988
2966397
+  (0.4ms) COMMIT
2966398
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966399
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966400
+  (0.1ms) BEGIN
2966401
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966402
+  (0.1ms) COMMIT
2966403
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966404
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096004 LIMIT 1
2966405
+  (0.1ms) BEGIN
2966406
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('See https://github.com/sportngin/hubstats/pull/13/files#discussion_r14095988', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:39', '@@ -17,14 +17,15 @@ class PullRequest < ActiveRecord::Base\n def self.find_or_create_pull(github_pull)\n github_pull = github_pull.to_h if github_pull.respond_to? :to_h\n \n- user = Hubstats::User.find_or_create_user(github_pull[:user])\n- repo = Hubstats::Repo.find_or_create_repo(github_pull[:base][:repo])\n+ user = Hubstats::User.create_or_update_user(github_pull[:user])\n+ github_pull[:user_id] = user.id\n+ repo = Hubstats::Repo.create_or_update_repo(github_pull[:repository])\n+ github_pull[:repo_id] = repo.id\n \n pull_data = github_pull.slice(*column_names.map(&:to_sym))\n- pull_data[:user_id] = user[:id]\n- pull_data[:repo_id] = repo[:id]\n \n pull = where(:id => pull_data[:id]).first_or_create(pull_data)\n+ pull.update_attributes(pull_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096004', 14096004, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 16, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096004', 174227)
2966407
+  (0.4ms) COMMIT
2966408
+  (0.0ms) BEGIN
2966409
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096004
2966410
+  (0.4ms) COMMIT
2966411
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966412
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966413
+  (0.1ms) BEGIN
2966414
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966415
+  (0.1ms) COMMIT
2966416
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966417
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096014 LIMIT 1
2966418
+  (0.1ms) BEGIN
2966419
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('See https://github.com/sportngin/hubstats/pull/13/files#discussion_r14095988', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:49', '@@ -46,11 +46,14 @@ class User < ActiveRecord::Base\n has_many :repos, :class_name => \"Repo\"\n has_many :pull_requests\n \n- def self.find_or_create_user(github_user)\n+ def self.create_or_update_user(github_user)\n github_user[:role] = github_user.delete :type ##changing :type in to :role\n github_user = github_user.to_h unless github_user.is_a? Hash\n+\n user_data = github_user.slice(*Hubstats::User.column_names.map(&:to_sym))\n+ \n user = Hubstats::User.where(:id => user_data[:id]).first_or_create(user_data)\n+ user.update_attributes(user_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096014', 14096014, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 12, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096014', 174227)
2966420
+  (0.5ms) COMMIT
2966421
+  (0.1ms) BEGIN
2966422
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096014
2966423
+  (0.5ms) COMMIT
2966424
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966425
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966426
+  (0.1ms) BEGIN
2966427
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966428
+  (0.1ms) COMMIT
2966429
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966430
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096044 LIMIT 1
2966431
+  (0.1ms) BEGIN
2966432
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Extra `puts` statement.', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:50:17', '@@ -9,6 +9,7 @@ def route(payload, type)\n when \"commit_comment\" || \"CommitCommentEvent\"\n comment_processor(payload,\"Commit\")\n when \"pull_request\" || \"PullRequestEvent\"\n+ puts \"Hellow\"', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096044', 14096044, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 4, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096044', 174227)
2966433
+  (0.4ms) COMMIT
2966434
+  (0.1ms) BEGIN
2966435
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096044
2966436
+  (0.4ms) COMMIT
2966437
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966438
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966439
+  (0.1ms) BEGIN
2966440
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966441
+  (0.1ms) COMMIT
2966442
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966443
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096564 LIMIT 1
2966444
+  (0.1ms) BEGIN
2966445
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I\'m not sure the logic for this makes sense. Is this a work in progress?', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 20:00:05', '@@ -57,13 +57,34 @@ namespace :populate do\n task :all => :environment do\n client = Hubstats::GithubAPI.client({:auto_paginate => true})\n get_repos.each do |repo|\n- re = Hubstats::Repo.find_or_create_repo(repo)\n+ re = Hubstats::Repo.create_or_update_repo(repo)\n \n Rake::Task[\"app:populate:users\"].execute({repo: \"#{re.full_name}\"})\n Rake::Task[\"app:populate:pulls\"].execute({repo: \"#{re.full_name}\"})\n Rake::Task[\"app:populate:comments\"].execute({repo: \"#{re.full_name}\"})\n- \n end\n+ puts \"Finished with initial population, grabing extra info for pull requests\"\n+ Rake::Task[\"app:populate:update\"].execute()\n+ end\n+\n+ desc \"indivdually gets and updates pull requests\"\n+ task :update => :environment do\n+ client = Hubstats::GithubAPI.client\n+\n+ while Hubstats::PullRequest.where(deletions: nil).where(additions: nil).count() > 0\n+ incomplete = Hubstats::PullRequest.where(deletions: nil).where(additions: nil).limit(client.rate_limit.remaining)\n+ incomplete.each do |pull|\n+ repo = Hubstats::Repo.where(id: pull.repo_id).first\n+ pr = client.pull_request(repo.full_name, pull.number)\n+\n+ Hubstats::PullRequest.find_or_create_pull(pull_setup(pr))\n+ end\n+ if Hubstats::PullRequest.where(deletions: nil).where(additions: nil).count() > 0\n+ puts \"Hit Github rate limit, waiting to get more\"\n+ sleep(5.minutes)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096564', 14096564, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 79, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096564', 174227)
2966446
+  (0.4ms) COMMIT
2966447
+  (0.1ms) BEGIN
2966448
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096564
2966449
+  (0.4ms) COMMIT
2966450
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966451
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966452
+  (0.1ms) BEGIN
2966453
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966454
+  (0.1ms) COMMIT
2966455
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2966456
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14101520 LIMIT 1
2966457
+  (0.1ms) BEGIN
2966458
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Can you add `rate_limit.resets_at` here, so it\'s obvious how long it\'s going to sleep for?', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 21:33:40', '@@ -38,5 +38,11 @@ def self.all(repo_url,kind)\n client({:auto_paginate => true }).paginate([repo_url,kind].join(\'/\'))\n end\n \n+ def self.wait_limit(grab_size,rate_limit)\n+ if rate_limit.remaining < grab_size\n+ puts \"Hit Github rate limit, waiting to get more\"', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14101520', 14101520, 'PullRequest', NULL, '06d8534bb048bc39dae4e429c1319884ebbfcf91', 6, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14101520', 174227)
2966459
+  (0.4ms) COMMIT
2966460
+  (0.1ms) BEGIN
2966461
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14101520
2966462
+  (0.4ms) COMMIT
2966463
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966464
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966465
+  (0.1ms) BEGIN
2966466
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966467
+  (0.1ms) COMMIT
2966468
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 16 LIMIT 1
2966469
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14419394 LIMIT 1
2966470
+  (0.1ms) BEGIN
2966471
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should rename this file `hub_helper.rb`. There are sometimes load issues because it would expect this file to define `Hubhelper` when you don\'t underscore it.', 'd2b4ffcbfb8d06a86fc07ad86e3ffd7739b32afa', '2014-07-01 18:04:12', '@@ -0,0 +1,25 @@\n+module HubHelper', 'https://github.com/sportngin/hubstats/pull/16#discussion_r14419394', 14419394, 'PullRequest', NULL, '6a151fdd4f431fd0f2b398987d1c3a1c638a0b66', 1, 0, NULL, 17837873, 'https://api.github.com/repos/sportngin/hubstats/pulls/16', 20231003, '2014-07-01 20:37:48', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14419394', 174227)
2966472
+  (0.4ms) COMMIT
2966473
+  (0.1ms) BEGIN
2966474
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:30' WHERE `hubstats_comments`.`id` = 14419394
2966475
+  (0.4ms) COMMIT
2966476
+ Hubstats::Repo Load (0.4ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966477
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966478
+  (0.1ms) BEGIN
2966479
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966480
+  (0.1ms) COMMIT
2966481
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2966482
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44579203 LIMIT 1
2966483
+  (0.1ms) BEGIN
2966484
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij prcr?', NULL, '2014-05-29 20:13:35', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44579203', 44579203, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-05-29 20:13:35', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44579203', 2453875)
2966485
+  (1.3ms) COMMIT
2966486
+  (0.1ms) BEGIN
2966487
+  (0.1ms) COMMIT
2966488
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966489
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966490
+  (0.1ms) BEGIN
2966491
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966492
+  (0.1ms) COMMIT
2966493
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2966494
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44590684 LIMIT 1
2966495
+  (0.1ms) BEGIN
2966496
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think we should change that spec to not actually hit the GitHub API. Instead, we can do something like:\r\n\r\n```ruby\r\nlet(:client) { double }\r\nlet(:pull1) { double }\r\nlet(:pull2) { double }\r\nlet(:pull_requests) { [pull1, pull2] }\r\n\r\nbefore do\r\n allow(GithubAPI).to receive(:client).and_return(client)\r\n allow(client).to receive(:paginate).and_return(pull_requests)\r\n allow(pull1).to receive(:closed_at).and_return(Time.new(\'2014-05-25\'))\r\n allow(pull2).to receive(:closed_at).and_return(Time.new(\'2014-05-20\'))\r\nend\r\n```\r\n\r\nThen run your `since` call and make sure that it returns only the pull request(s) that you expect given the date.\r\n\r\nThat way the test is not dependent on GitHub\'s API being up, and we\'re just testing our method instead of the API as well.', NULL, '2014-05-29 21:56:11', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44590684', 44590684, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-05-29 21:56:11', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44590684', 174227)
2966497
+  (0.4ms) COMMIT
2966498
+  (0.1ms) BEGIN
2966499
+  (0.1ms) COMMIT
2966500
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966501
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966502
+  (0.1ms) BEGIN
2966503
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966504
+  (0.1ms) COMMIT
2966505
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2966506
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44879694 LIMIT 1
2966507
+  (0.1ms) BEGIN
2966508
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('There\'s no reason to make this a hidden file. I\'d switch it back to being `octokit.yml` instead.', NULL, '2014-06-02 19:24:19', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44879694', 44879694, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-06-02 19:24:19', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44879694', 174227)
2966509
+  (0.5ms) COMMIT
2966510
+  (0.1ms) BEGIN
2966511
+  (0.0ms) COMMIT
2966512
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966513
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966514
+  (0.1ms) BEGIN
2966515
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966516
+  (0.1ms) COMMIT
2966517
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
2966518
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44892937 LIMIT 1
2966519
+  (0.1ms) BEGIN
2966520
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('God damnit, i tried something similar to that (less horrible nesting than I currently have). I kept getting stupid errors because I hadn\'t reset my ENV variables.....', NULL, '2014-06-02 21:20:17', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44892937', 44892937, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-06-02 21:20:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44892937', 2453875)
2966521
+  (0.5ms) COMMIT
2966522
+  (0.0ms) BEGIN
2966523
+  (0.1ms) COMMIT
2966524
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966525
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966526
+  (0.1ms) BEGIN
2966527
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966528
+  (0.1ms) COMMIT
2966529
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2966530
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44911990 LIMIT 1
2966531
+  (0.1ms) BEGIN
2966532
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij you\'re on pr call right?', NULL, '2014-06-03 01:53:07', NULL, 'https://github.com/sportngin/hubstats/pull/2#issuecomment-44911990', 44911990, 'Issue', NULL, NULL, NULL, NULL, NULL, 16631904, NULL, 20231003, '2014-06-03 01:53:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44911990', 2453875)
2966533
+  (0.4ms) COMMIT
2966534
+  (0.0ms) BEGIN
2966535
+  (0.1ms) COMMIT
2966536
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966537
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966538
+  (0.1ms) BEGIN
2966539
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966540
+  (0.1ms) COMMIT
2966541
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
2966542
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45021967 LIMIT 1
2966543
+  (0.1ms) BEGIN
2966544
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good @elliothursh :sheep: :it: once the tests pass!', NULL, '2014-06-03 21:19:05', NULL, 'https://github.com/sportngin/hubstats/pull/2#issuecomment-45021967', 45021967, 'Issue', NULL, NULL, NULL, NULL, NULL, 16631904, NULL, 20231003, '2014-06-03 21:19:05', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45021967', 174227)
2966545
+  (0.6ms) COMMIT
2966546
+  (0.1ms) BEGIN
2966547
+  (0.1ms) COMMIT
2966548
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966549
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966550
+  (0.1ms) BEGIN
2966551
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966552
+  (0.1ms) COMMIT
2966553
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2966554
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45368893 LIMIT 1
2966555
+  (0.1ms) BEGIN
2966556
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@anfleene be gentle... please?', NULL, '2014-06-06 18:23:26', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45368893', 45368893, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-06 18:23:26', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45368893', 2453875)
2966557
+  (0.6ms) COMMIT
2966558
+  (0.0ms) BEGIN
2966559
+  (0.1ms) COMMIT
2966560
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966561
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966562
+  (0.1ms) BEGIN
2966563
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966564
+  (0.1ms) COMMIT
2966565
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2966566
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45799526 LIMIT 1
2966567
+  (0.1ms) BEGIN
2966568
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij take a look... it\'s in a book.', NULL, '2014-06-11 21:02:08', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45799526', 45799526, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:02:08', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45799526', 2453875)
2966569
+  (0.7ms) COMMIT
2966570
+  (0.0ms) BEGIN
2966571
+  (0.1ms) COMMIT
2966572
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966573
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966574
+  (0.1ms) BEGIN
2966575
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966576
+  (0.1ms) COMMIT
2966577
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2966578
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45802189 LIMIT 1
2966579
+  (0.1ms) BEGIN
2966580
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Your Travis CI build is failing, let\'s try to get that passing before merging this. This should help: http://docs.travis-ci.com/user/database-setup/#MySQL', NULL, '2014-06-11 21:25:32', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45802189', 45802189, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:26:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45802189', 174227)
2966581
+  (0.4ms) COMMIT
2966582
+  (0.0ms) BEGIN
2966583
+  (0.1ms) COMMIT
2966584
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966585
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966586
+  (0.1ms) BEGIN
2966587
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966588
+  (0.1ms) COMMIT
2966589
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2966590
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45804898 LIMIT 1
2966591
+  (0.1ms) BEGIN
2966592
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-11 21:50:40', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45804898', 45804898, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:50:40', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45804898', 174227)
2966593
+  (0.4ms) COMMIT
2966594
+  (0.0ms) BEGIN
2966595
+  (0.1ms) COMMIT
2966596
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966597
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966598
+  (0.1ms) BEGIN
2966599
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966600
+  (0.1ms) COMMIT
2966601
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
2966602
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45805134 LIMIT 1
2966603
+  (0.1ms) BEGIN
2966604
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':book: :rainbow: ', NULL, '2014-06-11 21:53:07', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45805134', 45805134, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:53:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45805134', 174227)
2966605
+  (1.1ms) COMMIT
2966606
+  (0.1ms) BEGIN
2966607
+  (0.1ms) COMMIT
2966608
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966609
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966610
+  (0.1ms) BEGIN
2966611
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966612
+  (0.1ms) COMMIT
2966613
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966614
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45930581 LIMIT 1
2966615
+  (0.1ms) BEGIN
2966616
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@NickLaMuro will you look at this when you get a chance?\r\n', NULL, '2014-06-12 18:35:28', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-45930581', 45930581, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-12 18:35:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45930581', 2453875)
2966617
+  (0.5ms) COMMIT
2966618
+  (0.0ms) BEGIN
2966619
+  (0.1ms) COMMIT
2966620
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966621
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966622
+  (0.1ms) BEGIN
2966623
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966624
+  (0.1ms) COMMIT
2966625
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966626
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46201181 LIMIT 1
2966627
+  (0.1ms) BEGIN
2966628
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-16 16:29:33', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46201181', 46201181, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 16:29:33', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46201181', 2453875)
2966629
+  (0.4ms) COMMIT
2966630
+  (0.0ms) BEGIN
2966631
+  (0.1ms) COMMIT
2966632
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966633
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966634
+  (0.1ms) BEGIN
2966635
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966636
+  (0.1ms) COMMIT
2966637
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966638
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46220735 LIMIT 1
2966639
+  (0.1ms) BEGIN
2966640
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Large parts of those views should be moved into partials that can be shared. That can be done in future PRs, but should be kept in mind.', NULL, '2014-06-16 19:07:06', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46220735', 46220735, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 19:07:06', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46220735', 174227)
2966641
+  (0.5ms) COMMIT
2966642
+  (0.0ms) BEGIN
2966643
+  (0.1ms) COMMIT
2966644
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966645
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966646
+  (0.1ms) BEGIN
2966647
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966648
+  (0.1ms) COMMIT
2966649
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
2966650
+ Hubstats::Comment Load (0.4ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46243056 LIMIT 1
2966651
+  (0.1ms) BEGIN
2966652
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good! Let\'s keep the next PR\'s smaller! :shipit: ', NULL, '2014-06-16 21:53:41', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46243056', 46243056, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 21:53:41', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46243056', 174227)
2966653
+  (0.5ms) COMMIT
2966654
+  (0.1ms) BEGIN
2966655
+  (0.1ms) COMMIT
2966656
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966657
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966658
+  (0.1ms) BEGIN
2966659
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966660
+  (0.1ms) COMMIT
2966661
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966662
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46320884 LIMIT 1
2966663
+  (0.1ms) BEGIN
2966664
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij look at this quick? hopefully its small enough.', NULL, '2014-06-17 15:14:57', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46320884', 46320884, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 15:14:57', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46320884', 2453875)
2966665
+  (0.5ms) COMMIT
2966666
+  (0.0ms) BEGIN
2966667
+  (0.1ms) COMMIT
2966668
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966669
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966670
+  (0.0ms) BEGIN
2966671
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966672
+  (0.1ms) COMMIT
2966673
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966674
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46354706 LIMIT 1
2966675
+  (0.1ms) BEGIN
2966676
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij check this if you get a minute?', NULL, '2014-06-17 19:37:25', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46354706', 46354706, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:37:25', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46354706', 2453875)
2966677
+  (0.4ms) COMMIT
2966678
+  (0.0ms) BEGIN
2966679
+  (0.1ms) COMMIT
2966680
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966681
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966682
+  (0.1ms) BEGIN
2966683
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966684
+  (0.1ms) COMMIT
2966685
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 6 LIMIT 1
2966686
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46354749 LIMIT 1
2966687
+  (0.1ms) BEGIN
2966688
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ditto with this one?', NULL, '2014-06-17 19:37:48', NULL, 'https://github.com/sportngin/hubstats/pull/6#issuecomment-46354749', 46354749, 'Issue', NULL, NULL, NULL, NULL, NULL, 17256454, NULL, 20231003, '2014-06-17 19:37:48', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46354749', 2453875)
2966689
+  (0.5ms) COMMIT
2966690
+  (0.0ms) BEGIN
2966691
+  (0.1ms) COMMIT
2966692
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966693
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966694
+  (0.1ms) BEGIN
2966695
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966696
+  (0.1ms) COMMIT
2966697
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966698
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46355189 LIMIT 1
2966699
+  (0.1ms) BEGIN
2966700
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This looks much better! Nice use of scopes!', NULL, '2014-06-17 19:41:35', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46355189', 46355189, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:41:35', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46355189', 174227)
2966701
+  (0.4ms) COMMIT
2966702
+  (0.0ms) BEGIN
2966703
+  (0.1ms) COMMIT
2966704
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966705
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966706
+  (0.1ms) BEGIN
2966707
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966708
+  (0.1ms) COMMIT
2966709
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 6 LIMIT 1
2966710
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46355465 LIMIT 1
2966711
+  (0.1ms) BEGIN
2966712
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good :+1: ', NULL, '2014-06-17 19:43:53', NULL, 'https://github.com/sportngin/hubstats/pull/6#issuecomment-46355465', 46355465, 'Issue', NULL, NULL, NULL, NULL, NULL, 17256454, NULL, 20231003, '2014-06-17 19:43:53', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46355465', 174227)
2966713
+  (1.3ms) COMMIT
2966714
+  (0.1ms) BEGIN
2966715
+  (0.1ms) COMMIT
2966716
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966717
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966718
+  (0.1ms) BEGIN
2966719
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966720
+  (0.1ms) COMMIT
2966721
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
2966722
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46357254 LIMIT 1
2966723
+  (0.1ms) BEGIN
2966724
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-17 19:59:33', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46357254', 46357254, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:59:33', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46357254', 174227)
2966725
+  (0.7ms) COMMIT
2966726
+  (0.1ms) BEGIN
2966727
+  (0.1ms) COMMIT
2966728
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966729
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966730
+  (0.1ms) BEGIN
2966731
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966732
+  (0.1ms) COMMIT
2966733
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966734
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46464939 LIMIT 1
2966735
+  (0.1ms) BEGIN
2966736
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij Hey sorry for the length, I marked the files where actual stuff happens. The rest of it is just changing the controllers to use \"timespan\" instead of 2.weeks.ago and updating the views accordingly...', NULL, '2014-06-18 17:13:16', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46464939', 46464939, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-18 17:13:16', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46464939', 2453875)
2966737
+  (0.4ms) COMMIT
2966738
+  (0.0ms) BEGIN
2966739
+  (0.1ms) COMMIT
2966740
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966741
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966742
+  (0.1ms) BEGIN
2966743
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966744
+  (0.1ms) COMMIT
2966745
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1
2966746
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46479740 LIMIT 1
2966747
+  (0.1ms) BEGIN
2966748
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('SHOW UP!!!\r\n\r\nGET /repos/:owner/:repo/comments repo\r\n\r\nGET /repos/:owner/:repo/pulls/:number/comments comments from pull_request with line\r\n\r\nGET /repos/:owner/:repo/pulls/comments gets comment from entire repo use direct = desc\r\n\r\nGET /repos/:owner/:repo/issues/:number/comments comments from pull_request\r\n', NULL, '2014-06-18 19:08:29', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46479740', 46479740, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 15:57:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46479740', 2453875)
2966749
+  (0.6ms) COMMIT
2966750
+  (0.1ms) BEGIN
2966751
+  (0.1ms) COMMIT
2966752
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966753
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966754
+  (0.1ms) BEGIN
2966755
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966756
+  (0.1ms) COMMIT
2966757
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966758
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46494062 LIMIT 1
2966759
+  (0.1ms) BEGIN
2966760
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should prefix your cookies with `hubstats_` to make sure you don\'t conflict with application cookies (since this is an engine).', NULL, '2014-06-18 21:05:43', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46494062', 46494062, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-18 21:05:43', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46494062', 174227)
2966761
+  (0.4ms) COMMIT
2966762
+  (0.0ms) BEGIN
2966763
+  (0.1ms) COMMIT
2966764
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966765
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966766
+  (0.1ms) BEGIN
2966767
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966768
+  (0.1ms) COMMIT
2966769
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 9 LIMIT 1
2966770
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46564750 LIMIT 1
2966771
+  (0.1ms) BEGIN
2966772
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij check this out?', NULL, '2014-06-19 14:10:47', NULL, 'https://github.com/sportngin/hubstats/pull/9#issuecomment-46564750', 46564750, 'Issue', NULL, NULL, NULL, NULL, NULL, 17313123, NULL, 20231003, '2014-06-19 14:10:47', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46564750', 2453875)
2966773
+  (0.5ms) COMMIT
2966774
+  (0.1ms) BEGIN
2966775
+  (0.1ms) COMMIT
2966776
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966777
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966778
+  (0.1ms) BEGIN
2966779
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966780
+  (0.1ms) COMMIT
2966781
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966782
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46581039 LIMIT 1
2966783
+  (0.1ms) BEGIN
2966784
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@anfleene ?', NULL, '2014-06-19 16:08:18', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46581039', 46581039, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 16:08:18', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46581039', 2453875)
2966785
+  (0.4ms) COMMIT
2966786
+  (0.1ms) BEGIN
2966787
+  (0.1ms) COMMIT
2966788
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966789
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966790
+  (0.1ms) BEGIN
2966791
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966792
+  (0.1ms) COMMIT
2966793
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966794
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46582885 LIMIT 1
2966795
+  (0.1ms) BEGIN
2966796
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('For the most part this looks good. Just need a few markup changes to make tables more tabley.', NULL, '2014-06-19 16:22:54', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46582885', 46582885, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 16:22:54', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46582885', 47750)
2966797
+  (0.4ms) COMMIT
2966798
+  (0.1ms) BEGIN
2966799
+  (0.1ms) COMMIT
2966800
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966801
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2966802
+  (0.1ms) BEGIN
2966803
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2966804
+  (0.1ms) COMMIT
2966805
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
2966806
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46588341 LIMIT 1
2966807
+  (0.1ms) BEGIN
2966808
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Changes look good :sheep: :it: ', NULL, '2014-06-19 17:06:28', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46588341', 46588341, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 17:06:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46588341', 47750)
2966809
+  (0.4ms) COMMIT
2966810
+  (0.0ms) BEGIN
2966811
+  (0.0ms) COMMIT
2966812
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966813
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966814
+  (0.0ms) BEGIN
2966815
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966816
+  (0.1ms) COMMIT
2966817
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 9 LIMIT 1
2966818
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46596642 LIMIT 1
2966819
+  (0.1ms) BEGIN
2966820
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Changes look good to me :+1: ', NULL, '2014-06-19 18:13:55', NULL, 'https://github.com/sportngin/hubstats/pull/9#issuecomment-46596642', 46596642, 'Issue', NULL, NULL, NULL, NULL, NULL, 17313123, NULL, 20231003, '2014-06-19 18:13:55', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46596642', 174227)
2966821
+  (0.4ms) COMMIT
2966822
+  (0.0ms) BEGIN
2966823
+  (0.1ms) COMMIT
2966824
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966825
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966826
+  (0.1ms) BEGIN
2966827
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966828
+  (0.1ms) COMMIT
2966829
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966830
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46682903 LIMIT 1
2966831
+  (0.1ms) BEGIN
2966832
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij take a look please?', NULL, '2014-06-20 14:19:08', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46682903', 46682903, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 14:19:08', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46682903', 2453875)
2966833
+  (0.4ms) COMMIT
2966834
+  (0.0ms) BEGIN
2966835
+  (0.1ms) COMMIT
2966836
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966837
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966838
+  (0.1ms) BEGIN
2966839
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966840
+  (0.1ms) COMMIT
2966841
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966842
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46686756 LIMIT 1
2966843
+  (0.1ms) BEGIN
2966844
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think this is a good start. Remember to remove any code that is just for testing when you\'re done working on this.', NULL, '2014-06-20 14:49:58', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46686756', 46686756, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 14:49:58', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46686756', 174227)
2966845
+  (0.4ms) COMMIT
2966846
+  (0.0ms) BEGIN
2966847
+  (0.1ms) COMMIT
2966848
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966849
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966850
+  (0.1ms) BEGIN
2966851
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966852
+  (0.1ms) COMMIT
2966853
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966854
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46699010 LIMIT 1
2966855
+  (0.1ms) BEGIN
2966856
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij this probably would\'ve have made sense to include in the last one.... at least its small', NULL, '2014-06-20 16:33:24', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46699010', 46699010, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 16:33:24', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46699010', 2453875)
2966857
+  (0.4ms) COMMIT
2966858
+  (0.1ms) BEGIN
2966859
+  (0.1ms) COMMIT
2966860
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966861
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966862
+  (0.1ms) BEGIN
2966863
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966864
+  (0.1ms) COMMIT
2966865
+ Hubstats::PullRequest Load (0.5ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966866
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46707633 LIMIT 1
2966867
+  (0.1ms) BEGIN
2966868
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('i\'ll switch it back, sure...', NULL, '2014-06-20 17:57:20', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46707633', 46707633, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 18:00:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46707633', 2453875)
2966869
+  (0.4ms) COMMIT
2966870
+  (0.0ms) BEGIN
2966871
+  (0.1ms) COMMIT
2966872
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966873
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966874
+  (0.1ms) BEGIN
2966875
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966876
+  (0.1ms) COMMIT
2966877
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966878
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46708026 LIMIT 1
2966879
+  (0.1ms) BEGIN
2966880
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test.', NULL, '2014-06-20 18:00:48', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46708026', 46708026, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 18:00:48', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46708026', 2453875)
2966881
+  (0.4ms) COMMIT
2966882
+  (0.0ms) BEGIN
2966883
+  (0.0ms) COMMIT
2966884
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966885
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966886
+  (0.1ms) BEGIN
2966887
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966888
+  (0.1ms) COMMIT
2966889
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966890
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46712309 LIMIT 1
2966891
+  (0.1ms) BEGIN
2966892
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this better work!', NULL, '2014-06-20 18:39:41', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46712309', 46712309, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 18:39:41', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46712309', 2453875)
2966893
+  (0.6ms) COMMIT
2966894
+  (0.0ms) BEGIN
2966895
+  (0.1ms) COMMIT
2966896
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966897
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966898
+  (0.1ms) BEGIN
2966899
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966900
+  (0.1ms) COMMIT
2966901
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966902
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46712465 LIMIT 1
2966903
+  (0.1ms) BEGIN
2966904
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this one has to work.', NULL, '2014-06-20 18:40:59', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46712465', 46712465, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 18:40:59', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46712465', 2453875)
2966905
+  (0.4ms) COMMIT
2966906
+  (0.0ms) BEGIN
2966907
+  (0.0ms) COMMIT
2966908
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966909
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966910
+  (0.1ms) BEGIN
2966911
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966912
+  (0.1ms) COMMIT
2966913
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966914
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46715675 LIMIT 1
2966915
+  (0.1ms) BEGIN
2966916
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test1', NULL, '2014-06-20 19:10:36', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46715675', 46715675, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 19:10:36', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46715675', 2453875)
2966917
+  (0.4ms) COMMIT
2966918
+  (0.0ms) BEGIN
2966919
+  (0.1ms) COMMIT
2966920
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966921
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966922
+  (0.1ms) BEGIN
2966923
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966924
+  (0.1ms) COMMIT
2966925
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2966926
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46715783 LIMIT 1
2966927
+  (0.0ms) BEGIN
2966928
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test2', NULL, '2014-06-20 19:11:44', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46715783', 46715783, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 19:11:44', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46715783', 2453875)
2966929
+  (0.4ms) COMMIT
2966930
+  (0.0ms) BEGIN
2966931
+  (0.1ms) COMMIT
2966932
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966933
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966934
+  (0.0ms) BEGIN
2966935
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966936
+  (0.1ms) COMMIT
2966937
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1
2966938
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716648 LIMIT 1
2966939
+  (0.1ms) BEGIN
2966940
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test5', NULL, '2014-06-20 19:20:32', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716648', 46716648, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:20:32', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716648', 2453875)
2966941
+  (0.4ms) COMMIT
2966942
+  (0.0ms) BEGIN
2966943
+  (0.1ms) COMMIT
2966944
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966945
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966946
+  (0.1ms) BEGIN
2966947
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966948
+  (0.1ms) COMMIT
2966949
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1
2966950
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716716 LIMIT 1
2966951
+  (0.0ms) BEGIN
2966952
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test6', NULL, '2014-06-20 19:21:14', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716716', 46716716, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:21:14', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716716', 2453875)
2966953
+  (0.7ms) COMMIT
2966954
+  (0.1ms) BEGIN
2966955
+  (0.1ms) COMMIT
2966956
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966957
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966958
+  (0.1ms) BEGIN
2966959
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966960
+  (0.1ms) COMMIT
2966961
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1
2966962
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716821 LIMIT 1
2966963
+  (0.1ms) BEGIN
2966964
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test 7', NULL, '2014-06-20 19:22:26', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716821', 46716821, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:22:26', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716821', 2453875)
2966965
+  (0.4ms) COMMIT
2966966
+  (0.0ms) BEGIN
2966967
+  (0.0ms) COMMIT
2966968
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966969
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966970
+  (0.0ms) BEGIN
2966971
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966972
+  (0.1ms) COMMIT
2966973
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966974
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46717044 LIMIT 1
2966975
+  (0.1ms) BEGIN
2966976
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Testing, One Two Three!!!!', NULL, '2014-06-20 19:24:24', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46717044', 46717044, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:24:24', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46717044', 2453875)
2966977
+  (0.4ms) COMMIT
2966978
+  (0.0ms) BEGIN
2966979
+  (0.0ms) COMMIT
2966980
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966981
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2966982
+  (0.1ms) BEGIN
2966983
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2966984
+  (0.1ms) COMMIT
2966985
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1
2966986
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46718705 LIMIT 1
2966987
+  (0.0ms) BEGIN
2966988
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij much changes, review please?', NULL, '2014-06-20 19:43:10', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46718705', 46718705, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 19:43:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46718705', 2453875)
2966989
+  (0.4ms) COMMIT
2966990
+  (0.0ms) BEGIN
2966991
+  (0.1ms) COMMIT
2966992
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2966993
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2966994
+  (0.1ms) BEGIN
2966995
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2966996
+  (0.1ms) COMMIT
2966997
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2966998
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46719809 LIMIT 1
2966999
+  (0.1ms) BEGIN
2967000
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Thing', NULL, '2014-06-20 19:55:15', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46719809', 46719809, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:55:15', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46719809', 174227)
2967001
+  (0.4ms) COMMIT
2967002
+  (0.0ms) BEGIN
2967003
+  (0.1ms) COMMIT
2967004
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967005
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967006
+  (0.1ms) BEGIN
2967007
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967008
+  (0.1ms) COMMIT
2967009
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1
2967010
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46720097 LIMIT 1
2967011
+  (0.1ms) BEGIN
2967012
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('fingers crossed>', NULL, '2014-06-20 19:58:22', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46720097', 46720097, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:58:22', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46720097', 2453875)
2967013
+  (0.4ms) COMMIT
2967014
+  (0.0ms) BEGIN
2967015
+  (0.1ms) COMMIT
2967016
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967017
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967018
+  (0.1ms) BEGIN
2967019
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967020
+  (0.1ms) COMMIT
2967021
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
2967022
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46720427 LIMIT 1
2967023
+  (0.0ms) BEGIN
2967024
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-20 20:01:22', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46720427', 46720427, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 20:01:22', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46720427', 174227)
2967025
+  (0.4ms) COMMIT
2967026
+  (0.0ms) BEGIN
2967027
+  (0.0ms) COMMIT
2967028
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967029
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967030
+  (0.1ms) BEGIN
2967031
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967032
+  (0.1ms) COMMIT
2967033
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1
2967034
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46724873 LIMIT 1
2967035
+  (0.1ms) BEGIN
2967036
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':+1: ', NULL, '2014-06-20 20:48:07', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46724873', 46724873, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 20:48:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46724873', 174227)
2967037
+  (0.4ms) COMMIT
2967038
+  (0.0ms) BEGIN
2967039
+  (0.1ms) COMMIT
2967040
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967041
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967042
+  (0.1ms) BEGIN
2967043
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967044
+  (0.1ms) COMMIT
2967045
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1
2967046
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46733625 LIMIT 1
2967047
+  (0.1ms) BEGIN
2967048
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Hello World', NULL, '2014-06-20 22:33:18', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46733625', 46733625, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 22:33:18', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46733625', 2453875)
2967049
+  (0.4ms) COMMIT
2967050
+  (0.0ms) BEGIN
2967051
+  (0.1ms) COMMIT
2967052
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967053
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967054
+  (0.1ms) BEGIN
2967055
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967056
+  (0.1ms) COMMIT
2967057
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2967058
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46860648 LIMIT 1
2967059
+  (0.1ms) BEGIN
2967060
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ?', NULL, '2014-06-23 15:30:15', NULL, 'https://github.com/sportngin/hubstats/pull/13#issuecomment-46860648', 46860648, 'Issue', NULL, NULL, NULL, NULL, NULL, 17479705, NULL, 20231003, '2014-06-23 15:30:15', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46860648', 2453875)
2967061
+  (0.4ms) COMMIT
2967062
+  (0.0ms) BEGIN
2967063
+  (0.1ms) COMMIT
2967064
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967065
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967066
+  (0.1ms) BEGIN
2967067
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967068
+  (0.1ms) COMMIT
2967069
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
2967070
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46906519 LIMIT 1
2967071
+  (0.1ms) BEGIN
2967072
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':sheep: :it: ', NULL, '2014-06-23 21:46:03', NULL, 'https://github.com/sportngin/hubstats/pull/13#issuecomment-46906519', 46906519, 'Issue', NULL, NULL, NULL, NULL, NULL, 17479705, NULL, 20231003, '2014-06-23 21:46:03', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46906519', 174227)
2967073
+  (0.4ms) COMMIT
2967074
+  (0.1ms) BEGIN
2967075
+  (0.1ms) COMMIT
2967076
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967077
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967078
+  (0.1ms) BEGIN
2967079
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967080
+  (0.1ms) COMMIT
2967081
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 14 LIMIT 1
2967082
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46981805 LIMIT 1
2967083
+  (0.1ms) BEGIN
2967084
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-24 14:56:37', NULL, 'https://github.com/sportngin/hubstats/pull/14#issuecomment-46981805', 46981805, 'Issue', NULL, NULL, NULL, NULL, NULL, 17536385, NULL, 20231003, '2014-06-24 14:56:37', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46981805', 2453875)
2967085
+  (0.5ms) COMMIT
2967086
+  (0.1ms) BEGIN
2967087
+  (0.1ms) COMMIT
2967088
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967089
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967090
+  (0.1ms) BEGIN
2967091
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967092
+  (0.1ms) COMMIT
2967093
+ Hubstats::PullRequest Load (0.3ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 14 LIMIT 1
2967094
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46986193 LIMIT 1
2967095
+  (0.1ms) BEGIN
2967096
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':+1: ', NULL, '2014-06-24 15:25:19', NULL, 'https://github.com/sportngin/hubstats/pull/14#issuecomment-46986193', 46986193, 'Issue', NULL, NULL, NULL, NULL, NULL, 17536385, NULL, 20231003, '2014-06-24 15:25:19', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46986193', 174227)
2967097
+  (0.4ms) COMMIT
2967098
+  (0.1ms) BEGIN
2967099
+  (0.1ms) COMMIT
2967100
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967101
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967102
+  (0.1ms) BEGIN
2967103
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967104
+  (0.1ms) COMMIT
2967105
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 15 LIMIT 1
2967106
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47555924 LIMIT 1
2967107
+  (0.0ms) BEGIN
2967108
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-30 16:50:39', NULL, 'https://github.com/sportngin/hubstats/pull/15#issuecomment-47555924', 47555924, 'Issue', NULL, NULL, NULL, NULL, NULL, 17784161, NULL, 20231003, '2014-06-30 16:50:39', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47555924', 2453875)
2967109
+  (0.4ms) COMMIT
2967110
+  (0.0ms) BEGIN
2967111
+  (0.1ms) COMMIT
2967112
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967113
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967114
+  (0.1ms) BEGIN
2967115
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967116
+  (0.1ms) COMMIT
2967117
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 15 LIMIT 1
2967118
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47573040 LIMIT 1
2967119
+  (0.1ms) BEGIN
2967120
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Much fast! So speed! :shipit: ', NULL, '2014-06-30 19:08:54', NULL, 'https://github.com/sportngin/hubstats/pull/15#issuecomment-47573040', 47573040, 'Issue', NULL, NULL, NULL, NULL, NULL, 17784161, NULL, 20231003, '2014-06-30 19:08:54', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47573040', 174227)
2967121
+  (0.4ms) COMMIT
2967122
+  (0.1ms) BEGIN
2967123
+  (0.1ms) COMMIT
2967124
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967125
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967126
+  (0.1ms) BEGIN
2967127
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967128
+  (0.1ms) COMMIT
2967129
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 16 LIMIT 1
2967130
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47673831 LIMIT 1
2967131
+  (0.1ms) BEGIN
2967132
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij if you get a chance?', NULL, '2014-07-01 15:52:10', NULL, 'https://github.com/sportngin/hubstats/pull/16#issuecomment-47673831', 47673831, 'Issue', NULL, NULL, NULL, NULL, NULL, 17837873, NULL, 20231003, '2014-07-01 15:52:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47673831', 2453875)
2967133
+  (0.4ms) COMMIT
2967134
+  (0.0ms) BEGIN
2967135
+  (0.0ms) COMMIT
2967136
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967137
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967138
+  (0.1ms) BEGIN
2967139
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967140
+  (0.1ms) COMMIT
2967141
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1
2967142
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47698861 LIMIT 1
2967143
+  (0.1ms) BEGIN
2967144
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij', NULL, '2014-07-01 19:23:17', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47698861', 47698861, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 19:23:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47698861', 2453875)
2967145
+  (0.4ms) COMMIT
2967146
+  (0.0ms) BEGIN
2967147
+  (0.1ms) COMMIT
2967148
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967149
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967150
+  (0.1ms) BEGIN
2967151
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967152
+  (0.1ms) COMMIT
2967153
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1
2967154
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47701450 LIMIT 1
2967155
+  (0.0ms) BEGIN
2967156
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think you should add a `.to_i` to all of the places you\'re using `round` in the `repos_controller`.', NULL, '2014-07-01 19:46:17', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47701450', 47701450, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 19:46:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47701450', 174227)
2967157
+  (0.5ms) COMMIT
2967158
+  (0.1ms) BEGIN
2967159
+  (0.1ms) COMMIT
2967160
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967161
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967162
+  (0.1ms) BEGIN
2967163
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967164
+  (0.1ms) COMMIT
2967165
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1
2967166
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47707526 LIMIT 1
2967167
+  (0.1ms) BEGIN
2967168
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-07-01 20:43:52', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47707526', 47707526, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 20:43:52', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47707526', 174227)
2967169
+  (0.3ms) COMMIT
2967170
+  (0.1ms) BEGIN
2967171
+  (0.1ms) COMMIT
2967172
+ Hubstats::Repo Load (0.4ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967173
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967174
+  (0.1ms) BEGIN
2967175
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967176
+  (0.1ms) COMMIT
2967177
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524565 LIMIT 1
2967178
+  (0.1ms) BEGIN
2967179
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t want to commit this, and you should probably generate a new one now that it\'s in github.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:38:08', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524565', 6524565, 'Commit', 1, NULL, NULL, 0, 1, NULL, NULL, 20231003, '2014-06-02 15:38:08', 'https://api.github.com/repos/sportngin/hubstats/comments/6524565', 174227)
2967180
+  (0.5ms) COMMIT
2967181
+  (0.1ms) BEGIN
2967182
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524565
2967183
+  (0.4ms) COMMIT
2967184
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967185
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967186
+  (0.1ms) BEGIN
2967187
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967188
+  (0.1ms) COMMIT
2967189
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524575 LIMIT 1
2967190
+  (0.1ms) BEGIN
2967191
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This should be using the config file.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:38:44', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524575', 6524575, 'Commit', 5, NULL, NULL, 0, 5, NULL, NULL, 20231003, '2014-06-02 15:38:44', 'https://api.github.com/repos/sportngin/hubstats/comments/6524575', 174227)
2967192
+  (0.4ms) COMMIT
2967193
+  (0.0ms) BEGIN
2967194
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524575
2967195
+  (0.4ms) COMMIT
2967196
+ Hubstats::Repo Load (40.6ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967197
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967198
+  (0.1ms) BEGIN
2967199
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967200
+  (0.1ms) COMMIT
2967201
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524639 LIMIT 1
2967202
+  (0.1ms) BEGIN
2967203
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t need to redefine `:client`, `:pull1`, or `:pull2` here. They\'ll be the same as what you defined above since this context is nested inside the `.since` context.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:42:35', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524639', 6524639, 'Commit', 38, NULL, NULL, 0, 41, NULL, NULL, 20231003, '2014-06-02 15:42:35', 'https://api.github.com/repos/sportngin/hubstats/comments/6524639', 174227)
2967204
+  (0.5ms) COMMIT
2967205
+  (0.1ms) BEGIN
2967206
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524639
2967207
+  (0.4ms) COMMIT
2967208
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967209
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967210
+  (0.1ms) BEGIN
2967211
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967212
+  (0.1ms) COMMIT
2967213
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524657 LIMIT 1
2967214
+  (0.1ms) BEGIN
2967215
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You also don\'t need to redefine these `allow` statements for the ones that are already defined above.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:43:31', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524657', 6524657, 'Commit', 45, NULL, NULL, 0, 48, NULL, NULL, 20231003, '2014-06-02 15:43:31', 'https://api.github.com/repos/sportngin/hubstats/comments/6524657', 174227)
2967216
+  (0.7ms) COMMIT
2967217
+  (0.1ms) BEGIN
2967218
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524657
2967219
+  (0.4ms) COMMIT
2967220
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967221
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967222
+  (0.1ms) BEGIN
2967223
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967224
+  (0.1ms) COMMIT
2967225
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6527711 LIMIT 1
2967226
+  (0.1ms) BEGIN
2967227
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('If no date is passed in here, we should throw an exception and print out a message instead.', '25e59e6c3076a28f80270d4dd7fb224748f3179e', '2014-06-02 19:25:17', NULL, 'https://github.com/sportngin/hubstats/commit/25e59e6c3076a28f80270d4dd7fb224748f3179e#commitcomment-6527711', 6527711, 'Commit', 31, NULL, NULL, 0, 7, NULL, NULL, 20231003, '2014-06-02 19:25:17', 'https://api.github.com/repos/sportngin/hubstats/comments/6527711', 174227)
2967228
+  (0.4ms) COMMIT
2967229
+  (0.1ms) BEGIN
2967230
+  (0.2ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6527711
2967231
+  (0.4ms) COMMIT
2967232
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967233
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
2967234
+  (0.1ms) BEGIN
2967235
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
2967236
+  (0.1ms) COMMIT
2967237
+ Hubstats::Comment Load (0.2ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6529152 LIMIT 1
2967238
+  (0.1ms) BEGIN
2967239
+ SQL (0.2ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Yeah, this isn\'t pretty but it works and i\'ve had enough of it for now...', '0a4360418a9ab50d109d327f3e767a190751fe8a', '2014-06-02 21:01:37', NULL, 'https://github.com/sportngin/hubstats/commit/0a4360418a9ab50d109d327f3e767a190751fe8a#commitcomment-6529152', 6529152, 'Commit', 3, NULL, NULL, 0, 2, NULL, NULL, 20231003, '2014-06-02 21:01:37', 'https://api.github.com/repos/sportngin/hubstats/comments/6529152', 2453875)
2967240
+  (0.4ms) COMMIT
2967241
+  (0.0ms) BEGIN
2967242
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6529152
2967243
+  (0.4ms) COMMIT
2967244
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
2967245
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967246
+  (0.1ms) BEGIN
2967247
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967248
+  (0.1ms) COMMIT
2967249
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6529246 LIMIT 1
2967250
+  (0.1ms) BEGIN
2967251
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('What about something like:\r\n\r\n```ruby\r\ndef self.configure(options={})\r\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\r\n @client = Octokit::Client.new(access_token: access_token)\r\n else\r\n @client = Octokit::Client.new(\r\n login: ENV[\'GITHUB_LOGIN\'] || options[\"login\"], \r\n password: ENV[\'GITHUB_PASSWORD\'] || options[\"password\"]\r\n )\r\n end\r\nrescue StandardError\r\n puts \"Invalid GitHub credentials. See README for usage instructions.\"\r\n exit(1)\r\nend\r\n```', '0a4360418a9ab50d109d327f3e767a190751fe8a', '2014-06-02 21:09:55', NULL, 'https://github.com/sportngin/hubstats/commit/0a4360418a9ab50d109d327f3e767a190751fe8a#commitcomment-6529246', 6529246, 'Commit', 3, NULL, NULL, 0, 2, NULL, NULL, 20231003, '2014-06-02 21:09:55', 'https://api.github.com/repos/sportngin/hubstats/comments/6529246', 174227)
2967252
+  (0.4ms) COMMIT
2967253
+  (0.0ms) BEGIN
2967254
+  (0.1ms) UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6529246
2967255
+  (0.4ms) COMMIT
2967256
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2967257
+  (0.1ms) BEGIN
2967258
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2967259
+  (0.1ms) COMMIT
2967260
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
2967261
+  (0.1ms) BEGIN
2967262
+ SQL (0.2ms) INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES ('https://github.com/sportngin/soyuz.git', 'https://api.github.com/repos/sportngin/soyuz/contributors', '2014-01-27 16:50:50', 'master', 'The old trusty deployment toolkit', 'https://api.github.com/repos/sportngin/soyuz/events', 0, 0, 'sportngin/soyuz', 'https://api.github.com/repos/sportngin/soyuz/git/commits{/sha}', 'git://github.com/sportngin/soyuz.git', 1, 1, 1, NULL, 'https://api.github.com/repos/sportngin/soyuz/hooks', 'https://github.com/sportngin/soyuz', 16285416, 'https://api.github.com/repos/sportngin/soyuz/issues/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/issues/events{/number}', 'https://api.github.com/repos/sportngin/soyuz/issues{/number}', 'https://api.github.com/repos/sportngin/soyuz/labels{/name}', 'Ruby', 'https://api.github.com/repos/sportngin/soyuz/merges', NULL, 'soyuz', 2, 3728684, 0, 'https://api.github.com/repos/sportngin/soyuz/pulls{/number}', '2014-06-21 17:28:12', 604, 'git@github.com:sportngin/soyuz.git', 0, 'https://github.com/sportngin/soyuz', '2014-06-21 17:28:12', 'https://api.github.com/repos/sportngin/soyuz', NULL)
2967263
+  (0.4ms) COMMIT
2967264
+  (0.0ms) BEGIN
2967265
+  (0.1ms) COMMIT
2967266
+ Hubstats::User Load (0.4ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2967267
+  (0.1ms) BEGIN
2967268
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2967269
+  (0.1ms) COMMIT
2967270
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967271
+  (0.1ms) BEGIN
2967272
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967273
+  (0.1ms) COMMIT
2967274
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/soyuz' LIMIT 1
2967275
+ Hubstats::User Load (0.4ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
2967276
+  (0.1ms) BEGIN
2967277
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
2967278
+  (0.1ms) COMMIT
2967279
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2967280
+  (0.1ms) BEGIN
2967281
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2967282
+  (0.1ms) COMMIT
2967283
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
2967284
+  (0.1ms) BEGIN
2967285
+  (0.1ms) COMMIT
2967286
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16856386 LIMIT 1
2967287
+  (0.1ms) BEGIN
2967288
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Adds a `Soyuz::Support` class that abstracts the `symbolize_keys` method into it\'s own module that can be used throughout the app.\r\n\r\nAlso includes this module in the `Soyuz::CommandChoice` so that the following is possible:\r\n\r\n```yaml\r\ndefaults:\r\n deploy_cmd: \'echo default deploy $SOYUZ_ENVIRONMENT\'\r\n\r\nenvironments:\r\n -\r\n production:\r\n before_deploy_cmds:\r\n - \r\n -\r\n display: \"Run migrations\"\r\n cmd: \"echo run migrations\"\r\n -\r\n display: \"Skip migrations\"\r\n cmd: \"echo skipping migrations\"\r\n after_deploy_cmds:\r\n - \"echo after deploy callback\"\r\n -\r\n staging: {}\r\n```', NULL, NULL, NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/10/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/10/commits', '2014-06-07 18:20:42', NULL, 'https://github.com/sportngin/soyuz/pull/10.diff', 'https://github.com/sportngin/soyuz/pull/10', 16856386, 'https://api.github.com/repos/sportngin/soyuz/issues/10', 'c2658d8e23c125575a28cab0c403dc49cfadf3c2', NULL, NULL, NULL, 10, 'https://github.com/sportngin/soyuz/pull/10.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/10/comments', 'open', 'https://api.github.com/repos/sportngin/soyuz/statuses/2d8876ebec4b9743036430fb392b2e554294181d', 'Soyuz support', '2014-06-21 17:28:12', 'https://api.github.com/repos/sportngin/soyuz/pulls/10', 314014)
2967289
+  (0.5ms) COMMIT
2967290
+  (0.1ms) BEGIN
2967291
+  (0.1ms) COMMIT
2967292
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2967293
+  (0.1ms) BEGIN
2967294
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2967295
+  (0.1ms) COMMIT
2967296
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2967297
+  (0.1ms) BEGIN
2967298
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2967299
+  (0.1ms) COMMIT
2967300
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
2967301
+  (0.1ms) BEGIN
2967302
+  (0.1ms) COMMIT
2967303
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16563110 LIMIT 1
2967304
+  (0.1ms) BEGIN
2967305
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Closes #6 ', NULL, '2014-06-02 18:53:17', NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/9/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/9/commits', '2014-05-31 03:01:45', NULL, 'https://github.com/sportngin/soyuz/pull/9.diff', 'https://github.com/sportngin/soyuz/pull/9', 16563110, 'https://api.github.com/repos/sportngin/soyuz/issues/9', '3c8b3df8336f757a60d1044671674034f2bfd7d6', NULL, NULL, '2014-06-02 18:53:17', 9, 'https://github.com/sportngin/soyuz/pull/9.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/9/comments', 'closed', 'https://api.github.com/repos/sportngin/soyuz/statuses/a58c1d7c7ab0d387107d049a5e20df3e71384b63', 'Switch from commander framework to gli because it\'s more full featured and does more work for you', '2014-06-19 14:17:35', 'https://api.github.com/repos/sportngin/soyuz/pulls/9', 47750)
2967306
+  (0.4ms) COMMIT
2967307
+  (0.1ms) BEGIN
2967308
+  (0.1ms) COMMIT
2967309
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
2967310
+  (0.1ms) BEGIN
2967311
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
2967312
+  (0.1ms) COMMIT
2967313
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2967314
+  (0.1ms) BEGIN
2967315
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2967316
+  (0.1ms) COMMIT
2967317
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
2967318
+  (0.1ms) BEGIN
2967319
+  (0.1ms) COMMIT
2967320
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16562887 LIMIT 1
2967321
+  (0.1ms) BEGIN
2967322
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Closes #4 ', NULL, '2014-06-02 13:55:33', NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/8/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/8/commits', '2014-05-31 02:33:43', NULL, 'https://github.com/sportngin/soyuz/pull/8.diff', 'https://github.com/sportngin/soyuz/pull/8', 16562887, 'https://api.github.com/repos/sportngin/soyuz/issues/8', '3484f9932beef1e26b8fb69ca17450574dd8b79b', NULL, NULL, '2014-06-02 13:55:33', 8, 'https://github.com/sportngin/soyuz/pull/8.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/8/comments', 'closed', 'https://api.github.com/repos/sportngin/soyuz/statuses/20c5c36159db85f81f5c84455c6eecaafcac2b02', 'Add psych greater than 2.0.5 as a hard dependency to ensure libyaml 1.6 or higher is used.', '2014-06-19 14:18:02', 'https://api.github.com/repos/sportngin/soyuz/pulls/8', 47750)
2967323
+  (0.4ms) COMMIT
2967324
+  (0.1ms) BEGIN
2967325
+  (0.1ms) COMMIT
2967326
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
2967327
+  (0.1ms) BEGIN
2967328
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
2967329
+  (0.1ms) COMMIT
2967330
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
2967331
+  (0.1ms) BEGIN
2967332
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
2967333
+  (0.1ms) COMMIT
2967334
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
2967335
+  (0.1ms) BEGIN
2967336
+  (0.1ms) COMMIT