{"action":"created","comment":{"url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/comments/111738648","pull_request_review_id":32999789,"id":111738648,"diff_hunk":"@@ -1,20 +1,36 @@\n class User < ApplicationRecord\n   before_save {email.downcase!}\n-\n-  validates :name, presence: true, length: {maximum: 50}\n+  attr_accessor :remember_token\n+  validates :name,  presence: true, length: { maximum: 50 }\n   VALID_EMAIL_REGEX = /\\A[\\w+\\-.]+@[a-z\\d\\-.]+\\.[a-z]+\\z/i\n-  validates :email, presence: true, length: {maximum: 255},\n-    format: {with: VALID_EMAIL_REGEX},\n-    uniqueness: {case_sensitive: false}\n-  validates :password, presence: true, length: {minimum: 6}\n-\n+  validates :email, presence: true, length: { maximum: 255 },\n+                    format: { with: VALID_EMAIL_REGEX },\n+                    uniqueness: { case_sensitive: false }\n   has_secure_password\n-  class << self\n-    def digest string\n-      cost = ActiveModel::SecurePassword.min_cost ?\n-      BCrypt::Engine::MIN_COST :\n-      BCrypt::Engine.cost\n-      BCrypt::Password.create string, cost: cost\n-    end\n+  validates :password, presence: true, length: { minimum: 6 }","path":"app/models/user.rb","position":24,"original_position":24,"commit_id":"f928cc82ed765eb0adca46a184aa7816b63eba68","original_commit_id":"f928cc82ed765eb0adca46a184aa7816b63eba68","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars0.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"remove whitespace","created_at":"2017-04-17T13:01:59Z","updated_at":"2017-04-17T13:05:49Z","html_url":"https://github.com/hellovietnam93/Try_hard_59/pull/116#discussion_r111738648","pull_request_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/comments/111738648"},"html":{"href":"https://github.com/hellovietnam93/Try_hard_59/pull/116#discussion_r111738648"},"pull_request":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116","id":116124007,"html_url":"https://github.com/hellovietnam93/Try_hard_59/pull/116","diff_url":"https://github.com/hellovietnam93/Try_hard_59/pull/116.diff","patch_url":"https://github.com/hellovietnam93/Try_hard_59/pull/116.patch","issue_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/116","number":116,"state":"open","locked":false,"title":"Advanced Login","user":{"login":"bloodarchduke","id":26253164,"avatar_url":"https://avatars3.githubusercontent.com/u/26253164?v=3","gravatar_id":"","url":"https://api.github.com/users/bloodarchduke","html_url":"https://github.com/bloodarchduke","followers_url":"https://api.github.com/users/bloodarchduke/followers","following_url":"https://api.github.com/users/bloodarchduke/following{/other_user}","gists_url":"https://api.github.com/users/bloodarchduke/gists{/gist_id}","starred_url":"https://api.github.com/users/bloodarchduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloodarchduke/subscriptions","organizations_url":"https://api.github.com/users/bloodarchduke/orgs","repos_url":"https://api.github.com/users/bloodarchduke/repos","events_url":"https://api.github.com/users/bloodarchduke/events{/privacy}","received_events_url":"https://api.github.com/users/bloodarchduke/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-17T11:28:38Z","updated_at":"2017-04-17T13:05:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b53f72ad6a70144e5bd46259d444de6a59341c00","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116/commits","review_comments_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116/comments","review_comment_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/116/comments","statuses_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/statuses/f928cc82ed765eb0adca46a184aa7816b63eba68","head":{"label":"bloodarchduke:advanced_login","ref":"advanced_login","sha":"f928cc82ed765eb0adca46a184aa7816b63eba68","user":{"login":"bloodarchduke","id":26253164,"avatar_url":"https://avatars3.githubusercontent.com/u/26253164?v=3","gravatar_id":"","url":"https://api.github.com/users/bloodarchduke","html_url":"https://github.com/bloodarchduke","followers_url":"https://api.github.com/users/bloodarchduke/followers","following_url":"https://api.github.com/users/bloodarchduke/following{/other_user}","gists_url":"https://api.github.com/users/bloodarchduke/gists{/gist_id}","starred_url":"https://api.github.com/users/bloodarchduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloodarchduke/subscriptions","organizations_url":"https://api.github.com/users/bloodarchduke/orgs","repos_url":"https://api.github.com/users/bloodarchduke/repos","events_url":"https://api.github.com/users/bloodarchduke/events{/privacy}","received_events_url":"https://api.github.com/users/bloodarchduke/received_events","type":"User","site_admin":false},"repo":{"id":85926601,"name":"Try_hard_59","full_name":"bloodarchduke/Try_hard_59","owner":{"login":"bloodarchduke","id":26253164,"avatar_url":"https://avatars3.githubusercontent.com/u/26253164?v=3","gravatar_id":"","url":"https://api.github.com/users/bloodarchduke","html_url":"https://github.com/bloodarchduke","followers_url":"https://api.github.com/users/bloodarchduke/followers","following_url":"https://api.github.com/users/bloodarchduke/following{/other_user}","gists_url":"https://api.github.com/users/bloodarchduke/gists{/gist_id}","starred_url":"https://api.github.com/users/bloodarchduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloodarchduke/subscriptions","organizations_url":"https://api.github.com/users/bloodarchduke/orgs","repos_url":"https://api.github.com/users/bloodarchduke/repos","events_url":"https://api.github.com/users/bloodarchduke/events{/privacy}","received_events_url":"https://api.github.com/users/bloodarchduke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bloodarchduke/Try_hard_59","description":null,"fork":true,"url":"https://api.github.com/repos/bloodarchduke/Try_hard_59","forks_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/forks","keys_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/teams","hooks_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/hooks","issue_events_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/issues/events{/number}","events_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/events","assignees_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/assignees{/user}","branches_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/branches{/branch}","tags_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/tags","blobs_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/git/refs{/sha}","trees_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/statuses/{sha}","languages_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/languages","stargazers_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/stargazers","contributors_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/contributors","subscribers_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/subscribers","subscription_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/subscription","commits_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/commits{/sha}","git_commits_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/git/commits{/sha}","comments_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/comments{/number}","issue_comment_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/issues/comments{/number}","contents_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/contents/{+path}","compare_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/merges","archive_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/downloads","issues_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/issues{/number}","pulls_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/pulls{/number}","milestones_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/milestones{/number}","notifications_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/labels{/name}","releases_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/releases{/id}","deployments_url":"https://api.github.com/repos/bloodarchduke/Try_hard_59/deployments","created_at":"2017-03-23T08:44:13Z","updated_at":"2017-03-22T10:51:11Z","pushed_at":"2017-04-17T11:27:09Z","git_url":"git://github.com/bloodarchduke/Try_hard_59.git","ssh_url":"git@github.com:bloodarchduke/Try_hard_59.git","clone_url":"https://github.com/bloodarchduke/Try_hard_59.git","svn_url":"https://github.com/bloodarchduke/Try_hard_59","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hellovietnam93:20142133_Bui_Quoc_Hung","ref":"20142133_Bui_Quoc_Hung","sha":"da5de09a675b6256b6b01f28a523cc61e0280c3f","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars2.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"repo":{"id":85816771,"name":"Try_hard_59","full_name":"hellovietnam93/Try_hard_59","owner":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars2.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hellovietnam93/Try_hard_59","description":null,"fork":false,"url":"https://api.github.com/repos/hellovietnam93/Try_hard_59","forks_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/forks","keys_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/teams","hooks_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/hooks","issue_events_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/events{/number}","events_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/events","assignees_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/assignees{/user}","branches_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/branches{/branch}","tags_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/tags","blobs_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/git/refs{/sha}","trees_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/statuses/{sha}","languages_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/languages","stargazers_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/stargazers","contributors_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/contributors","subscribers_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/subscribers","subscription_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/subscription","commits_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/commits{/sha}","git_commits_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/git/commits{/sha}","comments_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/comments{/number}","issue_comment_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/comments{/number}","contents_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/contents/{+path}","compare_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/merges","archive_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/downloads","issues_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues{/number}","pulls_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls{/number}","milestones_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/milestones{/number}","notifications_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/labels{/name}","releases_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/releases{/id}","deployments_url":"https://api.github.com/repos/hellovietnam93/Try_hard_59/deployments","created_at":"2017-03-22T10:51:11Z","updated_at":"2017-03-23T12:44:01Z","pushed_at":"2017-04-17T12:50:48Z","git_url":"git://github.com/hellovietnam93/Try_hard_59.git","ssh_url":"git@github.com:hellovietnam93/Try_hard_59.git","clone_url":"https://github.com/hellovietnam93/Try_hard_59.git","svn_url":"https://github.com/hellovietnam93/Try_hard_59","homepage":null,"size":778,"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":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116"},"html":{"href":"https://github.com/hellovietnam93/Try_hard_59/pull/116"},"issue":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/116"},"comments":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/hellovietnam93/Try_hard_59/statuses/f928cc82ed765eb0adca46a184aa7816b63eba68"}}}}
{"actor":{"display_login":"dieunb"}}