{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/8","id":61137195,"html_url":"https://github.com/gSchool/rails-bug-01/pull/8","diff_url":"https://github.com/gSchool/rails-bug-01/pull/8.diff","patch_url":"https://github.com/gSchool/rails-bug-01/pull/8.patch","issue_url":"https://api.github.com/repos/gSchool/rails-bug-01/issues/8","number":8,"state":"open","locked":false,"title":"Bug Fix time_ago_in_words","user":{"login":"masakistewart","id":12754911,"avatar_url":"https://avatars.githubusercontent.com/u/12754911?v=3","gravatar_id":"","url":"https://api.github.com/users/masakistewart","html_url":"https://github.com/masakistewart","followers_url":"https://api.github.com/users/masakistewart/followers","following_url":"https://api.github.com/users/masakistewart/following{/other_user}","gists_url":"https://api.github.com/users/masakistewart/gists{/gist_id}","starred_url":"https://api.github.com/users/masakistewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masakistewart/subscriptions","organizations_url":"https://api.github.com/users/masakistewart/orgs","repos_url":"https://api.github.com/users/masakistewart/repos","events_url":"https://api.github.com/users/masakistewart/events{/privacy}","received_events_url":"https://api.github.com/users/masakistewart/received_events","type":"User","site_admin":false},"body":"On Login there was an Error saying that we are calling time_ago_in_words on undefined. Once having checked the database I noticed that there were no time_stamp entries on the first two quote objects. I wrote a simple if statement would return the time ago or return time is not defined.","created_at":"2016-02-29T20:13:45Z","updated_at":"2016-02-29T20:13:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/8/commits","review_comments_url":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/8/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/8/comments","statuses_url":"https://api.github.com/repos/gSchool/rails-bug-01/statuses/c74f9b1e1dad06c5d3a7137bd8b2d5bc6db8cb74","head":{"label":"masakistewart:master","ref":"master","sha":"c74f9b1e1dad06c5d3a7137bd8b2d5bc6db8cb74","user":{"login":"masakistewart","id":12754911,"avatar_url":"https://avatars.githubusercontent.com/u/12754911?v=3","gravatar_id":"","url":"https://api.github.com/users/masakistewart","html_url":"https://github.com/masakistewart","followers_url":"https://api.github.com/users/masakistewart/followers","following_url":"https://api.github.com/users/masakistewart/following{/other_user}","gists_url":"https://api.github.com/users/masakistewart/gists{/gist_id}","starred_url":"https://api.github.com/users/masakistewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masakistewart/subscriptions","organizations_url":"https://api.github.com/users/masakistewart/orgs","repos_url":"https://api.github.com/users/masakistewart/repos","events_url":"https://api.github.com/users/masakistewart/events{/privacy}","received_events_url":"https://api.github.com/users/masakistewart/received_events","type":"User","site_admin":false},"repo":{"id":52812923,"name":"rails-bug-01","full_name":"masakistewart/rails-bug-01","owner":{"login":"masakistewart","id":12754911,"avatar_url":"https://avatars.githubusercontent.com/u/12754911?v=3","gravatar_id":"","url":"https://api.github.com/users/masakistewart","html_url":"https://github.com/masakistewart","followers_url":"https://api.github.com/users/masakistewart/followers","following_url":"https://api.github.com/users/masakistewart/following{/other_user}","gists_url":"https://api.github.com/users/masakistewart/gists{/gist_id}","starred_url":"https://api.github.com/users/masakistewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masakistewart/subscriptions","organizations_url":"https://api.github.com/users/masakistewart/orgs","repos_url":"https://api.github.com/users/masakistewart/repos","events_url":"https://api.github.com/users/masakistewart/events{/privacy}","received_events_url":"https://api.github.com/users/masakistewart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masakistewart/rails-bug-01","description":"A rails app to help find and fix a bug","fork":true,"url":"https://api.github.com/repos/masakistewart/rails-bug-01","forks_url":"https://api.github.com/repos/masakistewart/rails-bug-01/forks","keys_url":"https://api.github.com/repos/masakistewart/rails-bug-01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masakistewart/rails-bug-01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masakistewart/rails-bug-01/teams","hooks_url":"https://api.github.com/repos/masakistewart/rails-bug-01/hooks","issue_events_url":"https://api.github.com/repos/masakistewart/rails-bug-01/issues/events{/number}","events_url":"https://api.github.com/repos/masakistewart/rails-bug-01/events","assignees_url":"https://api.github.com/repos/masakistewart/rails-bug-01/assignees{/user}","branches_url":"https://api.github.com/repos/masakistewart/rails-bug-01/branches{/branch}","tags_url":"https://api.github.com/repos/masakistewart/rails-bug-01/tags","blobs_url":"https://api.github.com/repos/masakistewart/rails-bug-01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masakistewart/rails-bug-01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masakistewart/rails-bug-01/git/refs{/sha}","trees_url":"https://api.github.com/repos/masakistewart/rails-bug-01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masakistewart/rails-bug-01/statuses/{sha}","languages_url":"https://api.github.com/repos/masakistewart/rails-bug-01/languages","stargazers_url":"https://api.github.com/repos/masakistewart/rails-bug-01/stargazers","contributors_url":"https://api.github.com/repos/masakistewart/rails-bug-01/contributors","subscribers_url":"https://api.github.com/repos/masakistewart/rails-bug-01/subscribers","subscription_url":"https://api.github.com/repos/masakistewart/rails-bug-01/subscription","commits_url":"https://api.github.com/repos/masakistewart/rails-bug-01/commits{/sha}","git_commits_url":"https://api.github.com/repos/masakistewart/rails-bug-01/git/commits{/sha}","comments_url":"https://api.github.com/repos/masakistewart/rails-bug-01/comments{/number}","issue_comment_url":"https://api.github.com/repos/masakistewart/rails-bug-01/issues/comments{/number}","contents_url":"https://api.github.com/repos/masakistewart/rails-bug-01/contents/{+path}","compare_url":"https://api.github.com/repos/masakistewart/rails-bug-01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masakistewart/rails-bug-01/merges","archive_url":"https://api.github.com/repos/masakistewart/rails-bug-01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masakistewart/rails-bug-01/downloads","issues_url":"https://api.github.com/repos/masakistewart/rails-bug-01/issues{/number}","pulls_url":"https://api.github.com/repos/masakistewart/rails-bug-01/pulls{/number}","milestones_url":"https://api.github.com/repos/masakistewart/rails-bug-01/milestones{/number}","notifications_url":"https://api.github.com/repos/masakistewart/rails-bug-01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masakistewart/rails-bug-01/labels{/name}","releases_url":"https://api.github.com/repos/masakistewart/rails-bug-01/releases{/id}","deployments_url":"https://api.github.com/repos/masakistewart/rails-bug-01/deployments","created_at":"2016-02-29T18:19:35Z","updated_at":"2016-02-29T18:19:36Z","pushed_at":"2016-02-29T20:12:07Z","git_url":"git://github.com/masakistewart/rails-bug-01.git","ssh_url":"git@github.com:masakistewart/rails-bug-01.git","clone_url":"https://github.com/masakistewart/rails-bug-01.git","svn_url":"https://github.com/masakistewart/rails-bug-01","homepage":null,"size":143,"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:master","ref":"master","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-02-29T20:09:47Z","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":65,"mirror_url":null,"open_issues_count":4,"forks":65,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/8"},"html":{"href":"https://github.com/gSchool/rails-bug-01/pull/8"},"issue":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/issues/8"},"comments":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/pulls/8/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/8/commits"},"statuses":{"href":"https://api.github.com/repos/gSchool/rails-bug-01/statuses/c74f9b1e1dad06c5d3a7137bd8b2d5bc6db8cb74"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":2,"changed_files":4}}