{"action":"created","comment":{"url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/comments/88001054","pull_request_review_id":8587722,"id":88001054,"diff_hunk":"@@ -0,0 +1,6 @@\n+class User < ApplicationRecord\n+  # Include default devise modules. Others available are:\n+  # :confirmable, :lockable, :timeoutable and :omniauthable\n+  devise :database_authenticatable, :registerable,\n+         :recoverable, :rememberable, :trackable, :validatable\n+end","path":"app/models/user.rb","position":6,"original_position":6,"commit_id":"f1bc7bc06e4e9e9ffa7a1c4c41db5359aa66a9e1","original_commit_id":"f1bc7bc06e4e9e9ffa7a1c4c41db5359aa66a9e1","user":{"login":"hand12","id":15228193,"avatar_url":"https://avatars.githubusercontent.com/u/15228193?v=3","gravatar_id":"","url":"https://api.github.com/users/hand12","html_url":"https://github.com/hand12","followers_url":"https://api.github.com/users/hand12/followers","following_url":"https://api.github.com/users/hand12/following{/other_user}","gists_url":"https://api.github.com/users/hand12/gists{/gist_id}","starred_url":"https://api.github.com/users/hand12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hand12/subscriptions","organizations_url":"https://api.github.com/users/hand12/orgs","repos_url":"https://api.github.com/users/hand12/repos","events_url":"https://api.github.com/users/hand12/events{/privacy}","received_events_url":"https://api.github.com/users/hand12/received_events","type":"User","site_admin":false},"body":"モデルを生成した時に、アソシエーションも書いておきましょう！","created_at":"2016-11-15T11:52:22Z","updated_at":"2016-11-15T11:52:22Z","html_url":"https://github.com/naoki2bota/chat-space/pull/6#discussion_r88001054","pull_request_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/comments/88001054"},"html":{"href":"https://github.com/naoki2bota/chat-space/pull/6#discussion_r88001054"},"pull_request":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6","id":93727202,"html_url":"https://github.com/naoki2bota/chat-space/pull/6","diff_url":"https://github.com/naoki2bota/chat-space/pull/6.diff","patch_url":"https://github.com/naoki2bota/chat-space/pull/6.patch","issue_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/6","number":6,"state":"open","locked":false,"title":"①deviseの導入、モデル、コントローラー、Viewの追加・設定 ②セッション周り(サインイン、サインアップ、サインアウト)の実装 ③ユーザー情報編集機能","user":{"login":"naoki2bota","id":23024888,"avatar_url":"https://avatars.githubusercontent.com/u/23024888?v=3","gravatar_id":"","url":"https://api.github.com/users/naoki2bota","html_url":"https://github.com/naoki2bota","followers_url":"https://api.github.com/users/naoki2bota/followers","following_url":"https://api.github.com/users/naoki2bota/following{/other_user}","gists_url":"https://api.github.com/users/naoki2bota/gists{/gist_id}","starred_url":"https://api.github.com/users/naoki2bota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoki2bota/subscriptions","organizations_url":"https://api.github.com/users/naoki2bota/orgs","repos_url":"https://api.github.com/users/naoki2bota/repos","events_url":"https://api.github.com/users/naoki2bota/events{/privacy}","received_events_url":"https://api.github.com/users/naoki2bota/received_events","type":"User","site_admin":false},"body":"## WHAT\r\n\r\n1. deviseの導入、モデル、コントローラーの作成\r\n2. セッション周り(サインイン、サインアップ、サインアウト)の実装\r\n3. ユーザー情報編集機能\r\n\r\ndevise gemの追加\r\nrails g devise:install（インストール）\r\nrails g devise:views（view作成)\r\ngit cloneしたファイルにそれぞれ置き換え\r\nrails g devise user(デバイスでUserモデル生成）\r\nnameカラムをUserテーブルに追加\r\nname項目を追加(devise_parameter_sanitizerで設定）\r\n編集画面(user/edit) へのリンクをlink_toメソッドで追加（index.html.haml/message.scssを編集）\r\n不要ファイル削除(test/fixture/user.yml)\r\n\r\n## WHY\r\nユーザー管理機能を実装するため\r\n\r\n※小分けにせず、大きなプルリクエストになってしまいました。申し訳ございません。","created_at":"2016-11-15T09:18:11Z","updated_at":"2016-11-15T11:52:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35c5152e7fdfe09af8868d354667c64643e19702","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6/commits","review_comments_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6/comments","review_comment_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/6/comments","statuses_url":"https://api.github.com/repos/naoki2bota/chat-space/statuses/f1bc7bc06e4e9e9ffa7a1c4c41db5359aa66a9e1","head":{"label":"naoki2bota:Add_devise_model_controller_and_views","ref":"Add_devise_model_controller_and_views","sha":"f1bc7bc06e4e9e9ffa7a1c4c41db5359aa66a9e1","user":{"login":"naoki2bota","id":23024888,"avatar_url":"https://avatars.githubusercontent.com/u/23024888?v=3","gravatar_id":"","url":"https://api.github.com/users/naoki2bota","html_url":"https://github.com/naoki2bota","followers_url":"https://api.github.com/users/naoki2bota/followers","following_url":"https://api.github.com/users/naoki2bota/following{/other_user}","gists_url":"https://api.github.com/users/naoki2bota/gists{/gist_id}","starred_url":"https://api.github.com/users/naoki2bota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoki2bota/subscriptions","organizations_url":"https://api.github.com/users/naoki2bota/orgs","repos_url":"https://api.github.com/users/naoki2bota/repos","events_url":"https://api.github.com/users/naoki2bota/events{/privacy}","received_events_url":"https://api.github.com/users/naoki2bota/received_events","type":"User","site_admin":false},"repo":{"id":73360084,"name":"chat-space","full_name":"naoki2bota/chat-space","owner":{"login":"naoki2bota","id":23024888,"avatar_url":"https://avatars.githubusercontent.com/u/23024888?v=3","gravatar_id":"","url":"https://api.github.com/users/naoki2bota","html_url":"https://github.com/naoki2bota","followers_url":"https://api.github.com/users/naoki2bota/followers","following_url":"https://api.github.com/users/naoki2bota/following{/other_user}","gists_url":"https://api.github.com/users/naoki2bota/gists{/gist_id}","starred_url":"https://api.github.com/users/naoki2bota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoki2bota/subscriptions","organizations_url":"https://api.github.com/users/naoki2bota/orgs","repos_url":"https://api.github.com/users/naoki2bota/repos","events_url":"https://api.github.com/users/naoki2bota/events{/privacy}","received_events_url":"https://api.github.com/users/naoki2bota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/naoki2bota/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/naoki2bota/chat-space","forks_url":"https://api.github.com/repos/naoki2bota/chat-space/forks","keys_url":"https://api.github.com/repos/naoki2bota/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naoki2bota/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naoki2bota/chat-space/teams","hooks_url":"https://api.github.com/repos/naoki2bota/chat-space/hooks","issue_events_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/naoki2bota/chat-space/events","assignees_url":"https://api.github.com/repos/naoki2bota/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/naoki2bota/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/naoki2bota/chat-space/tags","blobs_url":"https://api.github.com/repos/naoki2bota/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naoki2bota/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naoki2bota/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/naoki2bota/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naoki2bota/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/naoki2bota/chat-space/languages","stargazers_url":"https://api.github.com/repos/naoki2bota/chat-space/stargazers","contributors_url":"https://api.github.com/repos/naoki2bota/chat-space/contributors","subscribers_url":"https://api.github.com/repos/naoki2bota/chat-space/subscribers","subscription_url":"https://api.github.com/repos/naoki2bota/chat-space/subscription","commits_url":"https://api.github.com/repos/naoki2bota/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/naoki2bota/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/naoki2bota/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/naoki2bota/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/naoki2bota/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naoki2bota/chat-space/merges","archive_url":"https://api.github.com/repos/naoki2bota/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naoki2bota/chat-space/downloads","issues_url":"https://api.github.com/repos/naoki2bota/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/naoki2bota/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/naoki2bota/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naoki2bota/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/naoki2bota/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/naoki2bota/chat-space/deployments","created_at":"2016-11-10T08:07:22Z","updated_at":"2016-11-10T08:08:51Z","pushed_at":"2016-11-15T11:32:52Z","git_url":"git://github.com/naoki2bota/chat-space.git","ssh_url":"git@github.com:naoki2bota/chat-space.git","clone_url":"https://github.com/naoki2bota/chat-space.git","svn_url":"https://github.com/naoki2bota/chat-space","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"naoki2bota:master","ref":"master","sha":"974f35031a640f49408abf3b72452df96dd0d03c","user":{"login":"naoki2bota","id":23024888,"avatar_url":"https://avatars.githubusercontent.com/u/23024888?v=3","gravatar_id":"","url":"https://api.github.com/users/naoki2bota","html_url":"https://github.com/naoki2bota","followers_url":"https://api.github.com/users/naoki2bota/followers","following_url":"https://api.github.com/users/naoki2bota/following{/other_user}","gists_url":"https://api.github.com/users/naoki2bota/gists{/gist_id}","starred_url":"https://api.github.com/users/naoki2bota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoki2bota/subscriptions","organizations_url":"https://api.github.com/users/naoki2bota/orgs","repos_url":"https://api.github.com/users/naoki2bota/repos","events_url":"https://api.github.com/users/naoki2bota/events{/privacy}","received_events_url":"https://api.github.com/users/naoki2bota/received_events","type":"User","site_admin":false},"repo":{"id":73360084,"name":"chat-space","full_name":"naoki2bota/chat-space","owner":{"login":"naoki2bota","id":23024888,"avatar_url":"https://avatars.githubusercontent.com/u/23024888?v=3","gravatar_id":"","url":"https://api.github.com/users/naoki2bota","html_url":"https://github.com/naoki2bota","followers_url":"https://api.github.com/users/naoki2bota/followers","following_url":"https://api.github.com/users/naoki2bota/following{/other_user}","gists_url":"https://api.github.com/users/naoki2bota/gists{/gist_id}","starred_url":"https://api.github.com/users/naoki2bota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoki2bota/subscriptions","organizations_url":"https://api.github.com/users/naoki2bota/orgs","repos_url":"https://api.github.com/users/naoki2bota/repos","events_url":"https://api.github.com/users/naoki2bota/events{/privacy}","received_events_url":"https://api.github.com/users/naoki2bota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/naoki2bota/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/naoki2bota/chat-space","forks_url":"https://api.github.com/repos/naoki2bota/chat-space/forks","keys_url":"https://api.github.com/repos/naoki2bota/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naoki2bota/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naoki2bota/chat-space/teams","hooks_url":"https://api.github.com/repos/naoki2bota/chat-space/hooks","issue_events_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/naoki2bota/chat-space/events","assignees_url":"https://api.github.com/repos/naoki2bota/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/naoki2bota/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/naoki2bota/chat-space/tags","blobs_url":"https://api.github.com/repos/naoki2bota/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naoki2bota/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naoki2bota/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/naoki2bota/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naoki2bota/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/naoki2bota/chat-space/languages","stargazers_url":"https://api.github.com/repos/naoki2bota/chat-space/stargazers","contributors_url":"https://api.github.com/repos/naoki2bota/chat-space/contributors","subscribers_url":"https://api.github.com/repos/naoki2bota/chat-space/subscribers","subscription_url":"https://api.github.com/repos/naoki2bota/chat-space/subscription","commits_url":"https://api.github.com/repos/naoki2bota/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/naoki2bota/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/naoki2bota/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/naoki2bota/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/naoki2bota/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/naoki2bota/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naoki2bota/chat-space/merges","archive_url":"https://api.github.com/repos/naoki2bota/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naoki2bota/chat-space/downloads","issues_url":"https://api.github.com/repos/naoki2bota/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/naoki2bota/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/naoki2bota/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/naoki2bota/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naoki2bota/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/naoki2bota/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/naoki2bota/chat-space/deployments","created_at":"2016-11-10T08:07:22Z","updated_at":"2016-11-10T08:08:51Z","pushed_at":"2016-11-15T11:32:52Z","git_url":"git://github.com/naoki2bota/chat-space.git","ssh_url":"git@github.com:naoki2bota/chat-space.git","clone_url":"https://github.com/naoki2bota/chat-space.git","svn_url":"https://github.com/naoki2bota/chat-space","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6"},"html":{"href":"https://github.com/naoki2bota/chat-space/pull/6"},"issue":{"href":"https://api.github.com/repos/naoki2bota/chat-space/issues/6"},"comments":{"href":"https://api.github.com/repos/naoki2bota/chat-space/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/naoki2bota/chat-space/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/naoki2bota/chat-space/statuses/f1bc7bc06e4e9e9ffa7a1c4c41db5359aa66a9e1"}}}}
{"actor":{"display_login":"hand12"}}