{"action":"created","comment":{"url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/comments/171170738","pull_request_review_id":99974521,"id":171170738,"diff_hunk":"@@ -0,0 +1,22 @@\n+<%= form_for user do |f| %>","path":"app/views/users/_form.html.erb","position":1,"original_position":1,"commit_id":"f8ebaab8ff0ab364469e20cd2ce6cb6a28f5635c","original_commit_id":"f8ebaab8ff0ab364469e20cd2ce6cb6a28f5635c","user":{"login":"sangnuce","id":12852873,"avatar_url":"https://avatars3.githubusercontent.com/u/12852873?v=4","gravatar_id":"","url":"https://api.github.com/users/sangnuce","html_url":"https://github.com/sangnuce","followers_url":"https://api.github.com/users/sangnuce/followers","following_url":"https://api.github.com/users/sangnuce/following{/other_user}","gists_url":"https://api.github.com/users/sangnuce/gists{/gist_id}","starred_url":"https://api.github.com/users/sangnuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangnuce/subscriptions","organizations_url":"https://api.github.com/users/sangnuce/orgs","repos_url":"https://api.github.com/users/sangnuce/repos","events_url":"https://api.github.com/users/sangnuce/events{/privacy}","received_events_url":"https://api.github.com/users/sangnuce/received_events","type":"User","site_admin":false},"body":"form này dùng chung cho cả create và update thông tin user, vậy ở 2 trang đó thì form do form_for sinh ra có gì khác nhau? và làm sao mà form_for biết để sinh ra sự khác nhau đó?","created_at":"2018-02-28T08:29:21Z","updated_at":"2018-02-28T08:31:40Z","html_url":"https://github.com/ninhle9984/Tutorial/pull/11#discussion_r171170738","pull_request_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/comments/171170738"},"html":{"href":"https://github.com/ninhle9984/Tutorial/pull/11#discussion_r171170738"},"pull_request":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11","id":171603969,"html_url":"https://github.com/ninhle9984/Tutorial/pull/11","diff_url":"https://github.com/ninhle9984/Tutorial/pull/11.diff","patch_url":"https://github.com/ninhle9984/Tutorial/pull/11.patch","issue_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/11","number":11,"state":"open","locked":false,"title":"Chap 10","user":{"login":"ninhle9984","id":31109513,"avatar_url":"https://avatars3.githubusercontent.com/u/31109513?v=4","gravatar_id":"","url":"https://api.github.com/users/ninhle9984","html_url":"https://github.com/ninhle9984","followers_url":"https://api.github.com/users/ninhle9984/followers","following_url":"https://api.github.com/users/ninhle9984/following{/other_user}","gists_url":"https://api.github.com/users/ninhle9984/gists{/gist_id}","starred_url":"https://api.github.com/users/ninhle9984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninhle9984/subscriptions","organizations_url":"https://api.github.com/users/ninhle9984/orgs","repos_url":"https://api.github.com/users/ninhle9984/repos","events_url":"https://api.github.com/users/ninhle9984/events{/privacy}","received_events_url":"https://api.github.com/users/ninhle9984/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-27T09:22:18Z","updated_at":"2018-02-28T08:31:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"122d7835d7d25e3c509e4284bd20fb73f6b534e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/11/comments","statuses_url":"https://api.github.com/repos/ninhle9984/Tutorial/statuses/f8ebaab8ff0ab364469e20cd2ce6cb6a28f5635c","head":{"label":"ninhle9984:chap10","ref":"chap10","sha":"f8ebaab8ff0ab364469e20cd2ce6cb6a28f5635c","user":{"login":"ninhle9984","id":31109513,"avatar_url":"https://avatars3.githubusercontent.com/u/31109513?v=4","gravatar_id":"","url":"https://api.github.com/users/ninhle9984","html_url":"https://github.com/ninhle9984","followers_url":"https://api.github.com/users/ninhle9984/followers","following_url":"https://api.github.com/users/ninhle9984/following{/other_user}","gists_url":"https://api.github.com/users/ninhle9984/gists{/gist_id}","starred_url":"https://api.github.com/users/ninhle9984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninhle9984/subscriptions","organizations_url":"https://api.github.com/users/ninhle9984/orgs","repos_url":"https://api.github.com/users/ninhle9984/repos","events_url":"https://api.github.com/users/ninhle9984/events{/privacy}","received_events_url":"https://api.github.com/users/ninhle9984/received_events","type":"User","site_admin":false},"repo":{"id":119315539,"name":"Tutorial","full_name":"ninhle9984/Tutorial","owner":{"login":"ninhle9984","id":31109513,"avatar_url":"https://avatars3.githubusercontent.com/u/31109513?v=4","gravatar_id":"","url":"https://api.github.com/users/ninhle9984","html_url":"https://github.com/ninhle9984","followers_url":"https://api.github.com/users/ninhle9984/followers","following_url":"https://api.github.com/users/ninhle9984/following{/other_user}","gists_url":"https://api.github.com/users/ninhle9984/gists{/gist_id}","starred_url":"https://api.github.com/users/ninhle9984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninhle9984/subscriptions","organizations_url":"https://api.github.com/users/ninhle9984/orgs","repos_url":"https://api.github.com/users/ninhle9984/repos","events_url":"https://api.github.com/users/ninhle9984/events{/privacy}","received_events_url":"https://api.github.com/users/ninhle9984/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ninhle9984/Tutorial","description":null,"fork":false,"url":"https://api.github.com/repos/ninhle9984/Tutorial","forks_url":"https://api.github.com/repos/ninhle9984/Tutorial/forks","keys_url":"https://api.github.com/repos/ninhle9984/Tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninhle9984/Tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninhle9984/Tutorial/teams","hooks_url":"https://api.github.com/repos/ninhle9984/Tutorial/hooks","issue_events_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/ninhle9984/Tutorial/events","assignees_url":"https://api.github.com/repos/ninhle9984/Tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/ninhle9984/Tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/ninhle9984/Tutorial/tags","blobs_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninhle9984/Tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/ninhle9984/Tutorial/languages","stargazers_url":"https://api.github.com/repos/ninhle9984/Tutorial/stargazers","contributors_url":"https://api.github.com/repos/ninhle9984/Tutorial/contributors","subscribers_url":"https://api.github.com/repos/ninhle9984/Tutorial/subscribers","subscription_url":"https://api.github.com/repos/ninhle9984/Tutorial/subscription","commits_url":"https://api.github.com/repos/ninhle9984/Tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninhle9984/Tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninhle9984/Tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/ninhle9984/Tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninhle9984/Tutorial/merges","archive_url":"https://api.github.com/repos/ninhle9984/Tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninhle9984/Tutorial/downloads","issues_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/ninhle9984/Tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/ninhle9984/Tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninhle9984/Tutorial/labels{/name}","releases_url":"https://api.github.com/repos/ninhle9984/Tutorial/releases{/id}","deployments_url":"https://api.github.com/repos/ninhle9984/Tutorial/deployments","created_at":"2018-01-29T01:26:29Z","updated_at":"2018-01-29T04:15:36Z","pushed_at":"2018-02-28T08:07:17Z","git_url":"git://github.com/ninhle9984/Tutorial.git","ssh_url":"git@github.com:ninhle9984/Tutorial.git","clone_url":"https://github.com/ninhle9984/Tutorial.git","svn_url":"https://github.com/ninhle9984/Tutorial","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ninhle9984:master","ref":"master","sha":"ce7cbfd88719b856c2b09dfa9db3e2720e0700f2","user":{"login":"ninhle9984","id":31109513,"avatar_url":"https://avatars3.githubusercontent.com/u/31109513?v=4","gravatar_id":"","url":"https://api.github.com/users/ninhle9984","html_url":"https://github.com/ninhle9984","followers_url":"https://api.github.com/users/ninhle9984/followers","following_url":"https://api.github.com/users/ninhle9984/following{/other_user}","gists_url":"https://api.github.com/users/ninhle9984/gists{/gist_id}","starred_url":"https://api.github.com/users/ninhle9984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninhle9984/subscriptions","organizations_url":"https://api.github.com/users/ninhle9984/orgs","repos_url":"https://api.github.com/users/ninhle9984/repos","events_url":"https://api.github.com/users/ninhle9984/events{/privacy}","received_events_url":"https://api.github.com/users/ninhle9984/received_events","type":"User","site_admin":false},"repo":{"id":119315539,"name":"Tutorial","full_name":"ninhle9984/Tutorial","owner":{"login":"ninhle9984","id":31109513,"avatar_url":"https://avatars3.githubusercontent.com/u/31109513?v=4","gravatar_id":"","url":"https://api.github.com/users/ninhle9984","html_url":"https://github.com/ninhle9984","followers_url":"https://api.github.com/users/ninhle9984/followers","following_url":"https://api.github.com/users/ninhle9984/following{/other_user}","gists_url":"https://api.github.com/users/ninhle9984/gists{/gist_id}","starred_url":"https://api.github.com/users/ninhle9984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninhle9984/subscriptions","organizations_url":"https://api.github.com/users/ninhle9984/orgs","repos_url":"https://api.github.com/users/ninhle9984/repos","events_url":"https://api.github.com/users/ninhle9984/events{/privacy}","received_events_url":"https://api.github.com/users/ninhle9984/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ninhle9984/Tutorial","description":null,"fork":false,"url":"https://api.github.com/repos/ninhle9984/Tutorial","forks_url":"https://api.github.com/repos/ninhle9984/Tutorial/forks","keys_url":"https://api.github.com/repos/ninhle9984/Tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninhle9984/Tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninhle9984/Tutorial/teams","hooks_url":"https://api.github.com/repos/ninhle9984/Tutorial/hooks","issue_events_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/ninhle9984/Tutorial/events","assignees_url":"https://api.github.com/repos/ninhle9984/Tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/ninhle9984/Tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/ninhle9984/Tutorial/tags","blobs_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninhle9984/Tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/ninhle9984/Tutorial/languages","stargazers_url":"https://api.github.com/repos/ninhle9984/Tutorial/stargazers","contributors_url":"https://api.github.com/repos/ninhle9984/Tutorial/contributors","subscribers_url":"https://api.github.com/repos/ninhle9984/Tutorial/subscribers","subscription_url":"https://api.github.com/repos/ninhle9984/Tutorial/subscription","commits_url":"https://api.github.com/repos/ninhle9984/Tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninhle9984/Tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninhle9984/Tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninhle9984/Tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/ninhle9984/Tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninhle9984/Tutorial/merges","archive_url":"https://api.github.com/repos/ninhle9984/Tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninhle9984/Tutorial/downloads","issues_url":"https://api.github.com/repos/ninhle9984/Tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/ninhle9984/Tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/ninhle9984/Tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/ninhle9984/Tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninhle9984/Tutorial/labels{/name}","releases_url":"https://api.github.com/repos/ninhle9984/Tutorial/releases{/id}","deployments_url":"https://api.github.com/repos/ninhle9984/Tutorial/deployments","created_at":"2018-01-29T01:26:29Z","updated_at":"2018-01-29T04:15:36Z","pushed_at":"2018-02-28T08:07:17Z","git_url":"git://github.com/ninhle9984/Tutorial.git","ssh_url":"git@github.com:ninhle9984/Tutorial.git","clone_url":"https://github.com/ninhle9984/Tutorial.git","svn_url":"https://github.com/ninhle9984/Tutorial","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11"},"html":{"href":"https://github.com/ninhle9984/Tutorial/pull/11"},"issue":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/issues/11"},"comments":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ninhle9984/Tutorial/statuses/f8ebaab8ff0ab364469e20cd2ce6cb6a28f5635c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"sangnuce"}}