{"action":"created","comment":{"url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/comments/201277262","pull_request_review_id":135744550,"id":201277262,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTI3NzI2Mg==","diff_hunk":"@@ -0,0 +1,14 @@\n+class User < ApplicationRecord\n+  before_save :downcase_email\n+  validates :name, presence: true, length: {maximum: Settings.name_maximum}\n+  VALID_EMAIL_REGEX = /\\A[\\w+\\-.]+@[a-z\\d\\-]+(\\.[a-z\\d\\-]+)*\\.[a-z]+\\z/i\n+  validates :email, presence: true, length: {maximum: Settings.email_maximun},\n+            format: {with: VALID_EMAIL_REGEX},\n+            uniqueness: {case_sensitive: false}\n+  validates :password, presence: true, length: {minimum: Settings.pass_minimun}\n+  has_secure_password","path":"app/models/user.rb","position":9,"original_position":9,"commit_id":"b714c4f47e9519dcd647cfd7563ff1588a641fe9","original_commit_id":"2c04203096aca885af0236668b175c464f409616","user":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"body":"Nhầm. Ko phải\r\n","created_at":"2018-07-10T09:35:00Z","updated_at":"2018-07-10T09:35:00Z","html_url":"https://github.com/Parkboyoung11/init_project/pull/5#discussion_r201277262","pull_request_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/comments/201277262"},"html":{"href":"https://github.com/Parkboyoung11/init_project/pull/5#discussion_r201277262"},"pull_request":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5"}},"in_reply_to_id":201244328},"pull_request":{"url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5","id":200126647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMTI2NjQ3","html_url":"https://github.com/Parkboyoung11/init_project/pull/5","diff_url":"https://github.com/Parkboyoung11/init_project/pull/5.diff","patch_url":"https://github.com/Parkboyoung11/init_project/pull/5.patch","issue_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/5","number":5,"state":"open","locked":false,"title":"Static pages + Init Model","user":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-09T14:56:16Z","updated_at":"2018-07-10T09:35:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"599569abd3d3088016cd58178306218f450f2cad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/5/comments","statuses_url":"https://api.github.com/repos/Parkboyoung11/init_project/statuses/b714c4f47e9519dcd647cfd7563ff1588a641fe9","head":{"label":"Parkboyoung11:rails-flavored-ruby","ref":"rails-flavored-ruby","sha":"b714c4f47e9519dcd647cfd7563ff1588a641fe9","user":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"repo":{"id":139953711,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NTM3MTE=","name":"init_project","full_name":"Parkboyoung11/init_project","owner":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Parkboyoung11/init_project","description":"Chapter 1","fork":false,"url":"https://api.github.com/repos/Parkboyoung11/init_project","forks_url":"https://api.github.com/repos/Parkboyoung11/init_project/forks","keys_url":"https://api.github.com/repos/Parkboyoung11/init_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parkboyoung11/init_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parkboyoung11/init_project/teams","hooks_url":"https://api.github.com/repos/Parkboyoung11/init_project/hooks","issue_events_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/events{/number}","events_url":"https://api.github.com/repos/Parkboyoung11/init_project/events","assignees_url":"https://api.github.com/repos/Parkboyoung11/init_project/assignees{/user}","branches_url":"https://api.github.com/repos/Parkboyoung11/init_project/branches{/branch}","tags_url":"https://api.github.com/repos/Parkboyoung11/init_project/tags","blobs_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parkboyoung11/init_project/statuses/{sha}","languages_url":"https://api.github.com/repos/Parkboyoung11/init_project/languages","stargazers_url":"https://api.github.com/repos/Parkboyoung11/init_project/stargazers","contributors_url":"https://api.github.com/repos/Parkboyoung11/init_project/contributors","subscribers_url":"https://api.github.com/repos/Parkboyoung11/init_project/subscribers","subscription_url":"https://api.github.com/repos/Parkboyoung11/init_project/subscription","commits_url":"https://api.github.com/repos/Parkboyoung11/init_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parkboyoung11/init_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parkboyoung11/init_project/contents/{+path}","compare_url":"https://api.github.com/repos/Parkboyoung11/init_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parkboyoung11/init_project/merges","archive_url":"https://api.github.com/repos/Parkboyoung11/init_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parkboyoung11/init_project/downloads","issues_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues{/number}","pulls_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls{/number}","milestones_url":"https://api.github.com/repos/Parkboyoung11/init_project/milestones{/number}","notifications_url":"https://api.github.com/repos/Parkboyoung11/init_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parkboyoung11/init_project/labels{/name}","releases_url":"https://api.github.com/repos/Parkboyoung11/init_project/releases{/id}","deployments_url":"https://api.github.com/repos/Parkboyoung11/init_project/deployments","created_at":"2018-07-06T08:08:24Z","updated_at":"2018-07-09T14:41:09Z","pushed_at":"2018-07-10T09:27:11Z","git_url":"git://github.com/Parkboyoung11/init_project.git","ssh_url":"git@github.com:Parkboyoung11/init_project.git","clone_url":"https://github.com/Parkboyoung11/init_project.git","svn_url":"https://github.com/Parkboyoung11/init_project","homepage":null,"size":1339,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Parkboyoung11:master","ref":"master","sha":"e655552c5fdedb9079c524229a717790e40e5f50","user":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"repo":{"id":139953711,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NTM3MTE=","name":"init_project","full_name":"Parkboyoung11/init_project","owner":{"login":"Parkboyoung11","id":23338870,"node_id":"MDQ6VXNlcjIzMzM4ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/23338870?v=4","gravatar_id":"","url":"https://api.github.com/users/Parkboyoung11","html_url":"https://github.com/Parkboyoung11","followers_url":"https://api.github.com/users/Parkboyoung11/followers","following_url":"https://api.github.com/users/Parkboyoung11/following{/other_user}","gists_url":"https://api.github.com/users/Parkboyoung11/gists{/gist_id}","starred_url":"https://api.github.com/users/Parkboyoung11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parkboyoung11/subscriptions","organizations_url":"https://api.github.com/users/Parkboyoung11/orgs","repos_url":"https://api.github.com/users/Parkboyoung11/repos","events_url":"https://api.github.com/users/Parkboyoung11/events{/privacy}","received_events_url":"https://api.github.com/users/Parkboyoung11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Parkboyoung11/init_project","description":"Chapter 1","fork":false,"url":"https://api.github.com/repos/Parkboyoung11/init_project","forks_url":"https://api.github.com/repos/Parkboyoung11/init_project/forks","keys_url":"https://api.github.com/repos/Parkboyoung11/init_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parkboyoung11/init_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parkboyoung11/init_project/teams","hooks_url":"https://api.github.com/repos/Parkboyoung11/init_project/hooks","issue_events_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/events{/number}","events_url":"https://api.github.com/repos/Parkboyoung11/init_project/events","assignees_url":"https://api.github.com/repos/Parkboyoung11/init_project/assignees{/user}","branches_url":"https://api.github.com/repos/Parkboyoung11/init_project/branches{/branch}","tags_url":"https://api.github.com/repos/Parkboyoung11/init_project/tags","blobs_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parkboyoung11/init_project/statuses/{sha}","languages_url":"https://api.github.com/repos/Parkboyoung11/init_project/languages","stargazers_url":"https://api.github.com/repos/Parkboyoung11/init_project/stargazers","contributors_url":"https://api.github.com/repos/Parkboyoung11/init_project/contributors","subscribers_url":"https://api.github.com/repos/Parkboyoung11/init_project/subscribers","subscription_url":"https://api.github.com/repos/Parkboyoung11/init_project/subscription","commits_url":"https://api.github.com/repos/Parkboyoung11/init_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parkboyoung11/init_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parkboyoung11/init_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parkboyoung11/init_project/contents/{+path}","compare_url":"https://api.github.com/repos/Parkboyoung11/init_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parkboyoung11/init_project/merges","archive_url":"https://api.github.com/repos/Parkboyoung11/init_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parkboyoung11/init_project/downloads","issues_url":"https://api.github.com/repos/Parkboyoung11/init_project/issues{/number}","pulls_url":"https://api.github.com/repos/Parkboyoung11/init_project/pulls{/number}","milestones_url":"https://api.github.com/repos/Parkboyoung11/init_project/milestones{/number}","notifications_url":"https://api.github.com/repos/Parkboyoung11/init_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parkboyoung11/init_project/labels{/name}","releases_url":"https://api.github.com/repos/Parkboyoung11/init_project/releases{/id}","deployments_url":"https://api.github.com/repos/Parkboyoung11/init_project/deployments","created_at":"2018-07-06T08:08:24Z","updated_at":"2018-07-09T14:41:09Z","pushed_at":"2018-07-10T09:27:11Z","git_url":"git://github.com/Parkboyoung11/init_project.git","ssh_url":"git@github.com:Parkboyoung11/init_project.git","clone_url":"https://github.com/Parkboyoung11/init_project.git","svn_url":"https://github.com/Parkboyoung11/init_project","homepage":null,"size":1339,"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":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/Parkboyoung11/init_project/pulls/5"},"html":{"href":"https://github.com/Parkboyoung11/init_project/pull/5"},"issue":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/issues/5"},"comments":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Parkboyoung11/init_project/statuses/b714c4f47e9519dcd647cfd7563ff1588a641fe9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Parkboyoung11"}}