{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1","id":49908559,"html_url":"https://github.com/quocl/cmpsc431_project/pull/1","diff_url":"https://github.com/quocl/cmpsc431_project/pull/1.diff","patch_url":"https://github.com/quocl/cmpsc431_project/pull/1.patch","issue_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/1","number":1,"state":"open","locked":false,"title":"Wishlist application with some bugs...","user":{"login":"wugui2020","id":7920631,"avatar_url":"https://avatars.githubusercontent.com/u/7920631?v=3","gravatar_id":"","url":"https://api.github.com/users/wugui2020","html_url":"https://github.com/wugui2020","followers_url":"https://api.github.com/users/wugui2020/followers","following_url":"https://api.github.com/users/wugui2020/following{/other_user}","gists_url":"https://api.github.com/users/wugui2020/gists{/gist_id}","starred_url":"https://api.github.com/users/wugui2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wugui2020/subscriptions","organizations_url":"https://api.github.com/users/wugui2020/orgs","repos_url":"https://api.github.com/users/wugui2020/repos","events_url":"https://api.github.com/users/wugui2020/events{/privacy}","received_events_url":"https://api.github.com/users/wugui2020/received_events","type":"User","site_admin":false},"body":"I got it work once and I trash it now lol. I kept getting \"undefined method for nil class\". But the method was pointing to wishlist class....weird.\r\n\r\nundefined method `user_id' for nil:NilClass\r\nExtracted source (around line #5):\r\n\r\n<p>\r\n  <strong>User:</strong><br>\r\n  <%= @wishlist.user_id %>\r\n</p>\r\n\r\n<p>\r\n\r\nI was trying to achieve a current_user.email retrieve and a prompt log in when user is not logged in.  ","created_at":"2015-11-06T02:15:26Z","updated_at":"2015-11-06T02:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1/commits","review_comments_url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1/comments","review_comment_url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/1/comments","statuses_url":"https://api.github.com/repos/quocl/cmpsc431_project/statuses/8cc51ada0969a73cfff007ff6d87d7afe0166ddc","head":{"label":"quocl:wishlist","ref":"wishlist","sha":"8cc51ada0969a73cfff007ff6d87d7afe0166ddc","user":{"login":"quocl","id":1129956,"avatar_url":"https://avatars.githubusercontent.com/u/1129956?v=3","gravatar_id":"","url":"https://api.github.com/users/quocl","html_url":"https://github.com/quocl","followers_url":"https://api.github.com/users/quocl/followers","following_url":"https://api.github.com/users/quocl/following{/other_user}","gists_url":"https://api.github.com/users/quocl/gists{/gist_id}","starred_url":"https://api.github.com/users/quocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quocl/subscriptions","organizations_url":"https://api.github.com/users/quocl/orgs","repos_url":"https://api.github.com/users/quocl/repos","events_url":"https://api.github.com/users/quocl/events{/privacy}","received_events_url":"https://api.github.com/users/quocl/received_events","type":"User","site_admin":false},"repo":{"id":41558226,"name":"cmpsc431_project","full_name":"quocl/cmpsc431_project","owner":{"login":"quocl","id":1129956,"avatar_url":"https://avatars.githubusercontent.com/u/1129956?v=3","gravatar_id":"","url":"https://api.github.com/users/quocl","html_url":"https://github.com/quocl","followers_url":"https://api.github.com/users/quocl/followers","following_url":"https://api.github.com/users/quocl/following{/other_user}","gists_url":"https://api.github.com/users/quocl/gists{/gist_id}","starred_url":"https://api.github.com/users/quocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quocl/subscriptions","organizations_url":"https://api.github.com/users/quocl/orgs","repos_url":"https://api.github.com/users/quocl/repos","events_url":"https://api.github.com/users/quocl/events{/privacy}","received_events_url":"https://api.github.com/users/quocl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quocl/cmpsc431_project","description":"","fork":false,"url":"https://api.github.com/repos/quocl/cmpsc431_project","forks_url":"https://api.github.com/repos/quocl/cmpsc431_project/forks","keys_url":"https://api.github.com/repos/quocl/cmpsc431_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quocl/cmpsc431_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quocl/cmpsc431_project/teams","hooks_url":"https://api.github.com/repos/quocl/cmpsc431_project/hooks","issue_events_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/events{/number}","events_url":"https://api.github.com/repos/quocl/cmpsc431_project/events","assignees_url":"https://api.github.com/repos/quocl/cmpsc431_project/assignees{/user}","branches_url":"https://api.github.com/repos/quocl/cmpsc431_project/branches{/branch}","tags_url":"https://api.github.com/repos/quocl/cmpsc431_project/tags","blobs_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quocl/cmpsc431_project/statuses/{sha}","languages_url":"https://api.github.com/repos/quocl/cmpsc431_project/languages","stargazers_url":"https://api.github.com/repos/quocl/cmpsc431_project/stargazers","contributors_url":"https://api.github.com/repos/quocl/cmpsc431_project/contributors","subscribers_url":"https://api.github.com/repos/quocl/cmpsc431_project/subscribers","subscription_url":"https://api.github.com/repos/quocl/cmpsc431_project/subscription","commits_url":"https://api.github.com/repos/quocl/cmpsc431_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/quocl/cmpsc431_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/quocl/cmpsc431_project/contents/{+path}","compare_url":"https://api.github.com/repos/quocl/cmpsc431_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quocl/cmpsc431_project/merges","archive_url":"https://api.github.com/repos/quocl/cmpsc431_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quocl/cmpsc431_project/downloads","issues_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues{/number}","pulls_url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls{/number}","milestones_url":"https://api.github.com/repos/quocl/cmpsc431_project/milestones{/number}","notifications_url":"https://api.github.com/repos/quocl/cmpsc431_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quocl/cmpsc431_project/labels{/name}","releases_url":"https://api.github.com/repos/quocl/cmpsc431_project/releases{/id}","created_at":"2015-08-28T16:42:09Z","updated_at":"2015-10-15T06:15:13Z","pushed_at":"2015-11-06T02:07:40Z","git_url":"git://github.com/quocl/cmpsc431_project.git","ssh_url":"git@github.com:quocl/cmpsc431_project.git","clone_url":"https://github.com/quocl/cmpsc431_project.git","svn_url":"https://github.com/quocl/cmpsc431_project","homepage":null,"size":155,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"quocl:master","ref":"master","sha":"5c49e86fc369b01c9f1f49ebd7fb133b79e0fc45","user":{"login":"quocl","id":1129956,"avatar_url":"https://avatars.githubusercontent.com/u/1129956?v=3","gravatar_id":"","url":"https://api.github.com/users/quocl","html_url":"https://github.com/quocl","followers_url":"https://api.github.com/users/quocl/followers","following_url":"https://api.github.com/users/quocl/following{/other_user}","gists_url":"https://api.github.com/users/quocl/gists{/gist_id}","starred_url":"https://api.github.com/users/quocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quocl/subscriptions","organizations_url":"https://api.github.com/users/quocl/orgs","repos_url":"https://api.github.com/users/quocl/repos","events_url":"https://api.github.com/users/quocl/events{/privacy}","received_events_url":"https://api.github.com/users/quocl/received_events","type":"User","site_admin":false},"repo":{"id":41558226,"name":"cmpsc431_project","full_name":"quocl/cmpsc431_project","owner":{"login":"quocl","id":1129956,"avatar_url":"https://avatars.githubusercontent.com/u/1129956?v=3","gravatar_id":"","url":"https://api.github.com/users/quocl","html_url":"https://github.com/quocl","followers_url":"https://api.github.com/users/quocl/followers","following_url":"https://api.github.com/users/quocl/following{/other_user}","gists_url":"https://api.github.com/users/quocl/gists{/gist_id}","starred_url":"https://api.github.com/users/quocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quocl/subscriptions","organizations_url":"https://api.github.com/users/quocl/orgs","repos_url":"https://api.github.com/users/quocl/repos","events_url":"https://api.github.com/users/quocl/events{/privacy}","received_events_url":"https://api.github.com/users/quocl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quocl/cmpsc431_project","description":"","fork":false,"url":"https://api.github.com/repos/quocl/cmpsc431_project","forks_url":"https://api.github.com/repos/quocl/cmpsc431_project/forks","keys_url":"https://api.github.com/repos/quocl/cmpsc431_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quocl/cmpsc431_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quocl/cmpsc431_project/teams","hooks_url":"https://api.github.com/repos/quocl/cmpsc431_project/hooks","issue_events_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/events{/number}","events_url":"https://api.github.com/repos/quocl/cmpsc431_project/events","assignees_url":"https://api.github.com/repos/quocl/cmpsc431_project/assignees{/user}","branches_url":"https://api.github.com/repos/quocl/cmpsc431_project/branches{/branch}","tags_url":"https://api.github.com/repos/quocl/cmpsc431_project/tags","blobs_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quocl/cmpsc431_project/statuses/{sha}","languages_url":"https://api.github.com/repos/quocl/cmpsc431_project/languages","stargazers_url":"https://api.github.com/repos/quocl/cmpsc431_project/stargazers","contributors_url":"https://api.github.com/repos/quocl/cmpsc431_project/contributors","subscribers_url":"https://api.github.com/repos/quocl/cmpsc431_project/subscribers","subscription_url":"https://api.github.com/repos/quocl/cmpsc431_project/subscription","commits_url":"https://api.github.com/repos/quocl/cmpsc431_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/quocl/cmpsc431_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/quocl/cmpsc431_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/quocl/cmpsc431_project/contents/{+path}","compare_url":"https://api.github.com/repos/quocl/cmpsc431_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quocl/cmpsc431_project/merges","archive_url":"https://api.github.com/repos/quocl/cmpsc431_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quocl/cmpsc431_project/downloads","issues_url":"https://api.github.com/repos/quocl/cmpsc431_project/issues{/number}","pulls_url":"https://api.github.com/repos/quocl/cmpsc431_project/pulls{/number}","milestones_url":"https://api.github.com/repos/quocl/cmpsc431_project/milestones{/number}","notifications_url":"https://api.github.com/repos/quocl/cmpsc431_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quocl/cmpsc431_project/labels{/name}","releases_url":"https://api.github.com/repos/quocl/cmpsc431_project/releases{/id}","created_at":"2015-08-28T16:42:09Z","updated_at":"2015-10-15T06:15:13Z","pushed_at":"2015-11-06T02:07:40Z","git_url":"git://github.com/quocl/cmpsc431_project.git","ssh_url":"git@github.com:quocl/cmpsc431_project.git","clone_url":"https://github.com/quocl/cmpsc431_project.git","svn_url":"https://github.com/quocl/cmpsc431_project","homepage":null,"size":155,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1"},"html":{"href":"https://github.com/quocl/cmpsc431_project/pull/1"},"issue":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/issues/1"},"comments":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/quocl/cmpsc431_project/statuses/8cc51ada0969a73cfff007ff6d87d7afe0166ddc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":263,"deletions":10,"changed_files":18}}