{"action":"created","comment":{"url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/comments/157943868","pull_request_review_id":84670437,"id":157943868,"diff_hunk":"@@ -1,3 +1,27 @@\n <% provide :title, t(\".title\") %>\n <h1><%= t \".heading\" %></h1>\n-<p><%= t \".content\" %></p>\n+\n+<div class=\"row\">\n+  <div class=\"col-md-6 col-md-offset-3\">\n+    <%= form_for @user, url: signup_path do |f| %>\n+      <%= render \"shared/error_messages\", users: f.object %>\n+\n+      <%= f.label :name %>\n+      <%= f.text_field :name %>\n+\n+      <%= f.label :sex %>\n+      <%= f.select(:sex, User.sexes.keys.to_a.map {|key| [t(\"sex.#{key}\"), key]}) %>","path":"app/views/users/new.html.erb","position":14,"original_position":14,"commit_id":"5e2919e73e0eb8d4e371afc82647d541d660e097","original_commit_id":"5e2919e73e0eb8d4e371afc82647d541d660e097","user":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"body":"ok, a đã viết môjt hàm cho nó","created_at":"2017-12-20T06:14:21Z","updated_at":"2017-12-20T06:14:21Z","html_url":"https://github.com/tranhong216/new_app_toy/pull/7#discussion_r157943868","pull_request_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/comments/157943868"},"html":{"href":"https://github.com/tranhong216/new_app_toy/pull/7#discussion_r157943868"},"pull_request":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7"}},"in_reply_to_id":157692472},"pull_request":{"url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7","id":159075317,"html_url":"https://github.com/tranhong216/new_app_toy/pull/7","diff_url":"https://github.com/tranhong216/new_app_toy/pull/7.diff","patch_url":"https://github.com/tranhong216/new_app_toy/pull/7.patch","issue_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/7","number":7,"state":"open","locked":false,"title":"Chap 7","user":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"body":"\r\n![screenshot from 2017-12-19 11-10-42](https://user-images.githubusercontent.com/19985769/34140658-d89c6620-e4ae-11e7-81f8-4403a0b39a2f.png)\r\nUse form_for created singup pages, use strong params, flash for create noti after action,","created_at":"2017-12-19T04:14:41Z","updated_at":"2017-12-20T06:14:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe07d47ce386264e7f87c7e249293220d894d6e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/7/comments","statuses_url":"https://api.github.com/repos/tranhong216/new_app_toy/statuses/5e2919e73e0eb8d4e371afc82647d541d660e097","head":{"label":"tranhong216:chap7","ref":"chap7","sha":"5e2919e73e0eb8d4e371afc82647d541d660e097","user":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"repo":{"id":113162484,"name":"new_app_toy","full_name":"tranhong216/new_app_toy","owner":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tranhong216/new_app_toy","description":null,"fork":false,"url":"https://api.github.com/repos/tranhong216/new_app_toy","forks_url":"https://api.github.com/repos/tranhong216/new_app_toy/forks","keys_url":"https://api.github.com/repos/tranhong216/new_app_toy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tranhong216/new_app_toy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tranhong216/new_app_toy/teams","hooks_url":"https://api.github.com/repos/tranhong216/new_app_toy/hooks","issue_events_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/events{/number}","events_url":"https://api.github.com/repos/tranhong216/new_app_toy/events","assignees_url":"https://api.github.com/repos/tranhong216/new_app_toy/assignees{/user}","branches_url":"https://api.github.com/repos/tranhong216/new_app_toy/branches{/branch}","tags_url":"https://api.github.com/repos/tranhong216/new_app_toy/tags","blobs_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tranhong216/new_app_toy/statuses/{sha}","languages_url":"https://api.github.com/repos/tranhong216/new_app_toy/languages","stargazers_url":"https://api.github.com/repos/tranhong216/new_app_toy/stargazers","contributors_url":"https://api.github.com/repos/tranhong216/new_app_toy/contributors","subscribers_url":"https://api.github.com/repos/tranhong216/new_app_toy/subscribers","subscription_url":"https://api.github.com/repos/tranhong216/new_app_toy/subscription","commits_url":"https://api.github.com/repos/tranhong216/new_app_toy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tranhong216/new_app_toy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tranhong216/new_app_toy/contents/{+path}","compare_url":"https://api.github.com/repos/tranhong216/new_app_toy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tranhong216/new_app_toy/merges","archive_url":"https://api.github.com/repos/tranhong216/new_app_toy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tranhong216/new_app_toy/downloads","issues_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues{/number}","pulls_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls{/number}","milestones_url":"https://api.github.com/repos/tranhong216/new_app_toy/milestones{/number}","notifications_url":"https://api.github.com/repos/tranhong216/new_app_toy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tranhong216/new_app_toy/labels{/name}","releases_url":"https://api.github.com/repos/tranhong216/new_app_toy/releases{/id}","deployments_url":"https://api.github.com/repos/tranhong216/new_app_toy/deployments","created_at":"2017-12-05T09:39:13Z","updated_at":"2017-12-05T09:39:13Z","pushed_at":"2017-12-19T08:36:02Z","git_url":"git://github.com/tranhong216/new_app_toy.git","ssh_url":"git@github.com:tranhong216/new_app_toy.git","clone_url":"https://github.com/tranhong216/new_app_toy.git","svn_url":"https://github.com/tranhong216/new_app_toy","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tranhong216:develop","ref":"develop","sha":"6cb8b6429b06ac920a20c0d0196f06bca6fe7c35","user":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"repo":{"id":113162484,"name":"new_app_toy","full_name":"tranhong216/new_app_toy","owner":{"login":"tranhong216","id":19985769,"avatar_url":"https://avatars2.githubusercontent.com/u/19985769?v=4","gravatar_id":"","url":"https://api.github.com/users/tranhong216","html_url":"https://github.com/tranhong216","followers_url":"https://api.github.com/users/tranhong216/followers","following_url":"https://api.github.com/users/tranhong216/following{/other_user}","gists_url":"https://api.github.com/users/tranhong216/gists{/gist_id}","starred_url":"https://api.github.com/users/tranhong216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranhong216/subscriptions","organizations_url":"https://api.github.com/users/tranhong216/orgs","repos_url":"https://api.github.com/users/tranhong216/repos","events_url":"https://api.github.com/users/tranhong216/events{/privacy}","received_events_url":"https://api.github.com/users/tranhong216/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tranhong216/new_app_toy","description":null,"fork":false,"url":"https://api.github.com/repos/tranhong216/new_app_toy","forks_url":"https://api.github.com/repos/tranhong216/new_app_toy/forks","keys_url":"https://api.github.com/repos/tranhong216/new_app_toy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tranhong216/new_app_toy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tranhong216/new_app_toy/teams","hooks_url":"https://api.github.com/repos/tranhong216/new_app_toy/hooks","issue_events_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/events{/number}","events_url":"https://api.github.com/repos/tranhong216/new_app_toy/events","assignees_url":"https://api.github.com/repos/tranhong216/new_app_toy/assignees{/user}","branches_url":"https://api.github.com/repos/tranhong216/new_app_toy/branches{/branch}","tags_url":"https://api.github.com/repos/tranhong216/new_app_toy/tags","blobs_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tranhong216/new_app_toy/statuses/{sha}","languages_url":"https://api.github.com/repos/tranhong216/new_app_toy/languages","stargazers_url":"https://api.github.com/repos/tranhong216/new_app_toy/stargazers","contributors_url":"https://api.github.com/repos/tranhong216/new_app_toy/contributors","subscribers_url":"https://api.github.com/repos/tranhong216/new_app_toy/subscribers","subscription_url":"https://api.github.com/repos/tranhong216/new_app_toy/subscription","commits_url":"https://api.github.com/repos/tranhong216/new_app_toy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tranhong216/new_app_toy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tranhong216/new_app_toy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tranhong216/new_app_toy/contents/{+path}","compare_url":"https://api.github.com/repos/tranhong216/new_app_toy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tranhong216/new_app_toy/merges","archive_url":"https://api.github.com/repos/tranhong216/new_app_toy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tranhong216/new_app_toy/downloads","issues_url":"https://api.github.com/repos/tranhong216/new_app_toy/issues{/number}","pulls_url":"https://api.github.com/repos/tranhong216/new_app_toy/pulls{/number}","milestones_url":"https://api.github.com/repos/tranhong216/new_app_toy/milestones{/number}","notifications_url":"https://api.github.com/repos/tranhong216/new_app_toy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tranhong216/new_app_toy/labels{/name}","releases_url":"https://api.github.com/repos/tranhong216/new_app_toy/releases{/id}","deployments_url":"https://api.github.com/repos/tranhong216/new_app_toy/deployments","created_at":"2017-12-05T09:39:13Z","updated_at":"2017-12-05T09:39:13Z","pushed_at":"2017-12-19T08:36:02Z","git_url":"git://github.com/tranhong216/new_app_toy.git","ssh_url":"git@github.com:tranhong216/new_app_toy.git","clone_url":"https://github.com/tranhong216/new_app_toy.git","svn_url":"https://github.com/tranhong216/new_app_toy","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7"},"html":{"href":"https://github.com/tranhong216/new_app_toy/pull/7"},"issue":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/issues/7"},"comments":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tranhong216/new_app_toy/statuses/5e2919e73e0eb8d4e371afc82647d541d660e097"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tranhong216"}}