{"action":"created","comment":{"url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/comments/54662243","id":54662243,"diff_hunk":"@@ -54,7 +54,7 @@ GEM\n     jquery-rails (3.1.2)\n       railties (>= 3.0, < 5.0)\n       thor (>= 0.14, < 2.0)\n-    json (1.8.1)\n+    json (1.8.3)","path":"Gemfile.lock","position":5,"original_position":5,"commit_id":"1ee4626af3336cc4c47b80e4451b1d6f2b3e2b7c","original_commit_id":"1ee4626af3336cc4c47b80e4451b1d6f2b3e2b7c","user":{"login":"teb311","id":5017334,"avatar_url":"https://avatars.githubusercontent.com/u/5017334?v=3","gravatar_id":"","url":"https://api.github.com/users/teb311","html_url":"https://github.com/teb311","followers_url":"https://api.github.com/users/teb311/followers","following_url":"https://api.github.com/users/teb311/following{/other_user}","gists_url":"https://api.github.com/users/teb311/gists{/gist_id}","starred_url":"https://api.github.com/users/teb311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teb311/subscriptions","organizations_url":"https://api.github.com/users/teb311/orgs","repos_url":"https://api.github.com/users/teb311/repos","events_url":"https://api.github.com/users/teb311/events{/privacy}","received_events_url":"https://api.github.com/users/teb311/received_events","type":"User","site_admin":false},"body":"Oh, thanks! Great then lets keep it! ","created_at":"2016-03-02T00:40:19Z","updated_at":"2016-03-02T00:40:19Z","html_url":"https://github.com/gSchool/rails-bug-01/pull/13#discussion_r54662243","pull_request_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/comments/54662243"},"html":{"href":"https://github.com/gSchool/rails-bug-01/pull/13#discussion_r54662243"},"pull_request":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13","id":61154281,"html_url":"https://github.com/gSchool/rails-bug-01/pull/13","diff_url":"https://github.com/gSchool/rails-bug-01/pull/13.diff","patch_url":"https://github.com/gSchool/rails-bug-01/pull/13.patch","issue_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues/13","number":13,"state":"closed","locked":false,"title":"Miles: Timestamp bug fix","user":{"login":"milesflo","id":14067660,"avatar_url":"https://avatars.githubusercontent.com/u/14067660?v=3","gravatar_id":"","url":"https://api.github.com/users/milesflo","html_url":"https://github.com/milesflo","followers_url":"https://api.github.com/users/milesflo/followers","following_url":"https://api.github.com/users/milesflo/following{/other_user}","gists_url":"https://api.github.com/users/milesflo/gists{/gist_id}","starred_url":"https://api.github.com/users/milesflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesflo/subscriptions","organizations_url":"https://api.github.com/users/milesflo/orgs","repos_url":"https://api.github.com/users/milesflo/repos","events_url":"https://api.github.com/users/milesflo/events{/privacy}","received_events_url":"https://api.github.com/users/milesflo/received_events","type":"User","site_admin":false},"body":"The build's problem lied in the built-in date parser broken, time_ago_in_words(). It was passed quote.created_at , the timestamp of posting. Unfortunately, not all entries in the quotes datatable had input for the created_at column. Because time_ago_in_words() was passed an invalid datatype (null), the app crashed. To fix this, I altered the data parser to include an else statement of Time.now, \r\n> time_ago_in_words(quote.created_at || Time.now)\r\n\r\nsuch that it display \"less than a minute ago\" when no time stamp is present.","created_at":"2016-02-29T22:08:04Z","updated_at":"2016-03-02T00:40:19Z","closed_at":"2016-03-01T21:49:54Z","merged_at":null,"merge_commit_sha":"aa7a71e9aba61e7d267807f7dfacec0f838d812a","assignee":{"login":"teb311","id":5017334,"avatar_url":"https://avatars.githubusercontent.com/u/5017334?v=3","gravatar_id":"","url":"https://api.github.com/users/teb311","html_url":"https://github.com/teb311","followers_url":"https://api.github.com/users/teb311/followers","following_url":"https://api.github.com/users/teb311/following{/other_user}","gists_url":"https://api.github.com/users/teb311/gists{/gist_id}","starred_url":"https://api.github.com/users/teb311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teb311/subscriptions","organizations_url":"https://api.github.com/users/teb311/orgs","repos_url":"https://api.github.com/users/teb311/repos","events_url":"https://api.github.com/users/teb311/events{/privacy}","received_events_url":"https://api.github.com/users/teb311/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13/commits","review_comments_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13/comments","review_comment_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues/13/comments","statuses_url":"https://api.github.com/repos/gSchool/rails-bug-01/statuses/1ee4626af3336cc4c47b80e4451b1d6f2b3e2b7c","head":{"label":"milesflo:miles_date_fix","ref":"miles_date_fix","sha":"1ee4626af3336cc4c47b80e4451b1d6f2b3e2b7c","user":{"login":"milesflo","id":14067660,"avatar_url":"https://avatars.githubusercontent.com/u/14067660?v=3","gravatar_id":"","url":"https://api.github.com/users/milesflo","html_url":"https://github.com/milesflo","followers_url":"https://api.github.com/users/milesflo/followers","following_url":"https://api.github.com/users/milesflo/following{/other_user}","gists_url":"https://api.github.com/users/milesflo/gists{/gist_id}","starred_url":"https://api.github.com/users/milesflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesflo/subscriptions","organizations_url":"https://api.github.com/users/milesflo/orgs","repos_url":"https://api.github.com/users/milesflo/repos","events_url":"https://api.github.com/users/milesflo/events{/privacy}","received_events_url":"https://api.github.com/users/milesflo/received_events","type":"User","site_admin":false},"repo":{"id":52808456,"name":"rails-bug-01","full_name":"milesflo/rails-bug-01","owner":{"login":"milesflo","id":14067660,"avatar_url":"https://avatars.githubusercontent.com/u/14067660?v=3","gravatar_id":"","url":"https://api.github.com/users/milesflo","html_url":"https://github.com/milesflo","followers_url":"https://api.github.com/users/milesflo/followers","following_url":"https://api.github.com/users/milesflo/following{/other_user}","gists_url":"https://api.github.com/users/milesflo/gists{/gist_id}","starred_url":"https://api.github.com/users/milesflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesflo/subscriptions","organizations_url":"https://api.github.com/users/milesflo/orgs","repos_url":"https://api.github.com/users/milesflo/repos","events_url":"https://api.github.com/users/milesflo/events{/privacy}","received_events_url":"https://api.github.com/users/milesflo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milesflo/rails-bug-01","description":"A rails app to help find and fix a bug","fork":true,"url":"https://api.github.com/repos/milesflo/rails-bug-01","forks_url":"https://api.github.com/repos/milesflo/rails-bug-01/forks","keys_url":"https://api.github.com/repos/milesflo/rails-bug-01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milesflo/rails-bug-01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milesflo/rails-bug-01/teams","hooks_url":"https://api.github.com/repos/milesflo/rails-bug-01/hooks","issue_events_url":"https://api.github.com/repos/milesflo/rails-bug-01/issues/events{/number}","events_url":"https://api.github.com/repos/milesflo/rails-bug-01/events","assignees_url":"https://api.github.com/repos/milesflo/rails-bug-01/assignees{/user}","branches_url":"https://api.github.com/repos/milesflo/rails-bug-01/branches{/branch}","tags_url":"https://api.github.com/repos/milesflo/rails-bug-01/tags","blobs_url":"https://api.github.com/repos/milesflo/rails-bug-01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milesflo/rails-bug-01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milesflo/rails-bug-01/git/refs{/sha}","trees_url":"https://api.github.com/repos/milesflo/rails-bug-01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milesflo/rails-bug-01/statuses/{sha}","languages_url":"https://api.github.com/repos/milesflo/rails-bug-01/languages","stargazers_url":"https://api.github.com/repos/milesflo/rails-bug-01/stargazers","contributors_url":"https://api.github.com/repos/milesflo/rails-bug-01/contributors","subscribers_url":"https://api.github.com/repos/milesflo/rails-bug-01/subscribers","subscription_url":"https://api.github.com/repos/milesflo/rails-bug-01/subscription","commits_url":"https://api.github.com/repos/milesflo/rails-bug-01/commits{/sha}","git_commits_url":"https://api.github.com/repos/milesflo/rails-bug-01/git/commits{/sha}","comments_url":"https://api.github.com/repos/milesflo/rails-bug-01/comments{/number}","issue_comment_url":"https://api.github.com/repos/milesflo/rails-bug-01/issues/comments{/number}","contents_url":"https://api.github.com/repos/milesflo/rails-bug-01/contents/{+path}","compare_url":"https://api.github.com/repos/milesflo/rails-bug-01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milesflo/rails-bug-01/merges","archive_url":"https://api.github.com/repos/milesflo/rails-bug-01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milesflo/rails-bug-01/downloads","issues_url":"https://api.github.com/repos/milesflo/rails-bug-01/issues{/number}","pulls_url":"https://api.github.com/repos/milesflo/rails-bug-01/pulls{/number}","milestones_url":"https://api.github.com/repos/milesflo/rails-bug-01/milestones{/number}","notifications_url":"https://api.github.com/repos/milesflo/rails-bug-01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milesflo/rails-bug-01/labels{/name}","releases_url":"https://api.github.com/repos/milesflo/rails-bug-01/releases{/id}","deployments_url":"https://api.github.com/repos/milesflo/rails-bug-01/deployments","created_at":"2016-02-29T17:08:17Z","updated_at":"2016-02-29T17:08:18Z","pushed_at":"2016-02-29T23:01:34Z","git_url":"git://github.com/milesflo/rails-bug-01.git","ssh_url":"git@github.com:milesflo/rails-bug-01.git","clone_url":"https://github.com/milesflo/rails-bug-01.git","svn_url":"https://github.com/milesflo/rails-bug-01","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gSchool:staging","ref":"staging","sha":"0952427e8827a957ae7dfd972ee1ed92bf075fad","user":{"login":"gSchool","id":3484345,"avatar_url":"https://avatars.githubusercontent.com/u/3484345?v=3","gravatar_id":"","url":"https://api.github.com/users/gSchool","html_url":"https://github.com/gSchool","followers_url":"https://api.github.com/users/gSchool/followers","following_url":"https://api.github.com/users/gSchool/following{/other_user}","gists_url":"https://api.github.com/users/gSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/gSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gSchool/subscriptions","organizations_url":"https://api.github.com/users/gSchool/orgs","repos_url":"https://api.github.com/users/gSchool/repos","events_url":"https://api.github.com/users/gSchool/events{/privacy}","received_events_url":"https://api.github.com/users/gSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":21759214,"name":"rails-bug-01","full_name":"gSchool/rails-bug-01","owner":{"login":"gSchool","id":3484345,"avatar_url":"https://avatars.githubusercontent.com/u/3484345?v=3","gravatar_id":"","url":"https://api.github.com/users/gSchool","html_url":"https://github.com/gSchool","followers_url":"https://api.github.com/users/gSchool/followers","following_url":"https://api.github.com/users/gSchool/following{/other_user}","gists_url":"https://api.github.com/users/gSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/gSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gSchool/subscriptions","organizations_url":"https://api.github.com/users/gSchool/orgs","repos_url":"https://api.github.com/users/gSchool/repos","events_url":"https://api.github.com/users/gSchool/events{/privacy}","received_events_url":"https://api.github.com/users/gSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gSchool/rails-bug-01","description":"A rails app to help find and fix a bug","fork":false,"url":"https://api.github.com/repos/gSchool/rails-bug-01","forks_url":"https://api.github.com/repos/gSchool/rails-bug-01/forks","keys_url":"https://api.github.com/repos/gSchool/rails-bug-01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gSchool/rails-bug-01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gSchool/rails-bug-01/teams","hooks_url":"https://api.github.com/repos/gSchool/rails-bug-01/hooks","issue_events_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues/events{/number}","events_url":"https://api.github.com/repos/gSchool/rails-bug-01/events","assignees_url":"https://api.github.com/repos/gSchool/rails-bug-01/assignees{/user}","branches_url":"https://api.github.com/repos/gSchool/rails-bug-01/branches{/branch}","tags_url":"https://api.github.com/repos/gSchool/rails-bug-01/tags","blobs_url":"https://api.github.com/repos/gSchool/rails-bug-01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gSchool/rails-bug-01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gSchool/rails-bug-01/git/refs{/sha}","trees_url":"https://api.github.com/repos/gSchool/rails-bug-01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gSchool/rails-bug-01/statuses/{sha}","languages_url":"https://api.github.com/repos/gSchool/rails-bug-01/languages","stargazers_url":"https://api.github.com/repos/gSchool/rails-bug-01/stargazers","contributors_url":"https://api.github.com/repos/gSchool/rails-bug-01/contributors","subscribers_url":"https://api.github.com/repos/gSchool/rails-bug-01/subscribers","subscription_url":"https://api.github.com/repos/gSchool/rails-bug-01/subscription","commits_url":"https://api.github.com/repos/gSchool/rails-bug-01/commits{/sha}","git_commits_url":"https://api.github.com/repos/gSchool/rails-bug-01/git/commits{/sha}","comments_url":"https://api.github.com/repos/gSchool/rails-bug-01/comments{/number}","issue_comment_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues/comments{/number}","contents_url":"https://api.github.com/repos/gSchool/rails-bug-01/contents/{+path}","compare_url":"https://api.github.com/repos/gSchool/rails-bug-01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gSchool/rails-bug-01/merges","archive_url":"https://api.github.com/repos/gSchool/rails-bug-01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gSchool/rails-bug-01/downloads","issues_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues{/number}","pulls_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls{/number}","milestones_url":"https://api.github.com/repos/gSchool/rails-bug-01/milestones{/number}","notifications_url":"https://api.github.com/repos/gSchool/rails-bug-01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gSchool/rails-bug-01/labels{/name}","releases_url":"https://api.github.com/repos/gSchool/rails-bug-01/releases{/id}","deployments_url":"https://api.github.com/repos/gSchool/rails-bug-01/deployments","created_at":"2014-07-12T04:08:06Z","updated_at":"2014-11-05T17:11:40Z","pushed_at":"2016-03-01T23:04:49Z","git_url":"git://github.com/gSchool/rails-bug-01.git","ssh_url":"git@github.com:gSchool/rails-bug-01.git","clone_url":"https://github.com/gSchool/rails-bug-01.git","svn_url":"https://github.com/gSchool/rails-bug-01","homepage":null,"size":146,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":2,"forks":67,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13"},"html":{"href":"https://github.com/gSchool/rails-bug-01/pull/13"},"issue":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/issues/13"},"comments":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/statuses/1ee4626af3336cc4c47b80e4451b1d6f2b3e2b7c"}}}}