{"action":"closed","issue":{"url":"https://api.github.com/repos/dsaa151562000/dive23/issues/16","repository_url":"https://api.github.com/repos/dsaa151562000/dive23","labels_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/16/comments","events_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/16/events","html_url":"https://github.com/dsaa151562000/dive23/issues/16","id":173634797,"number":16,"title":"マイページ機能実装_2(投稿した質問と投稿した回答の一覧表示機能)","user":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hit-nakanishi","id":20317911,"avatar_url":"https://avatars.githubusercontent.com/u/20317911?v=3","gravatar_id":"","url":"https://api.github.com/users/hit-nakanishi","html_url":"https://github.com/hit-nakanishi","followers_url":"https://api.github.com/users/hit-nakanishi/followers","following_url":"https://api.github.com/users/hit-nakanishi/following{/other_user}","gists_url":"https://api.github.com/users/hit-nakanishi/gists{/gist_id}","starred_url":"https://api.github.com/users/hit-nakanishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hit-nakanishi/subscriptions","organizations_url":"https://api.github.com/users/hit-nakanishi/orgs","repos_url":"https://api.github.com/users/hit-nakanishi/repos","events_url":"https://api.github.com/users/hit-nakanishi/events{/privacy}","received_events_url":"https://api.github.com/users/hit-nakanishi/received_events","type":"User","site_admin":false},"assignees":[{"login":"hit-nakanishi","id":20317911,"avatar_url":"https://avatars.githubusercontent.com/u/20317911?v=3","gravatar_id":"","url":"https://api.github.com/users/hit-nakanishi","html_url":"https://github.com/hit-nakanishi","followers_url":"https://api.github.com/users/hit-nakanishi/followers","following_url":"https://api.github.com/users/hit-nakanishi/following{/other_user}","gists_url":"https://api.github.com/users/hit-nakanishi/gists{/gist_id}","starred_url":"https://api.github.com/users/hit-nakanishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hit-nakanishi/subscriptions","organizations_url":"https://api.github.com/users/hit-nakanishi/orgs","repos_url":"https://api.github.com/users/hit-nakanishi/repos","events_url":"https://api.github.com/users/hit-nakanishi/events{/privacy}","received_events_url":"https://api.github.com/users/hit-nakanishi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-28T07:55:17Z","updated_at":"2016-09-11T21:43:06Z","closed_at":"2016-09-11T21:43:06Z","body":"※表題の要件(投稿した質問と投稿した回答の一覧表示)を満たす為に、詳細な実装については適切な方法も模索してください\r\n------------------------------------------------------------\r\n投稿した質問\r\nquestionテーブルの\r\nuser_idと該当のcurrent_user.idが一致した行を取得\r\n\r\n- [ ] questionモデルにscopeを定義  where句\r\n\r\n- [ ] userモデルにメソッドを定義\r\n\r\n\r\n投稿した回答\r\nanswerテーブルの\r\nuser_idと該当のcurrent_user.idが一致した行を取得\r\n\r\n- [ ] answerデルにscopeを定義\r\n\r\n  where句\r\n\r\n- [ ] userモデルにメソッドを定義\r\n\r\n- [ ] userコントローラーのshowアクションに、自分が投稿した質問、回答のレコード取得メソッドを実装\r\n\r\nshowアクションのviewの編集\r\n\r\n- [ ] 「回答一覧」「質問一覧」をページ内タブ切り替えで表示させる\r\n"}}
{"actor":{"display_login":"hit-nakanishi"}}