{"action":"created","comment":{"url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/comments/130621294","pull_request_review_id":53516640,"id":130621294,"diff_hunk":"@@ -3,4 +3,11 @@ class User < ApplicationRecord\n   devise :database_authenticatable, :registerable,\n          :recoverable, :rememberable, :trackable, :validatable\n   enum gender: { male: 0, female: 1 }\n+  accepts_nested_attributes_for :interests, reject_if: :all_blank, allow_destroy: true\n+\n+  private\n+  def self.create_with_password(attr={})\n+    default_password = \"secret\"\n+    self.create(attr.merge(password: default_password, password_confirmation: default_password))","path":"app/models/user.rb","position":9,"original_position":9,"commit_id":"7c42b60d64cbf80260e4477fef822cfb87c0a861","original_commit_id":"7c42b60d64cbf80260e4477fef822cfb87c0a861","user":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"body":"Yes you have right","created_at":"2017-08-01T14:22:35Z","updated_at":"2017-08-01T14:22:35Z","html_url":"https://github.com/synion/recruitment-web-app/pull/4#discussion_r130621294","pull_request_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/comments/130621294"},"html":{"href":"https://github.com/synion/recruitment-web-app/pull/4#discussion_r130621294"},"pull_request":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4","id":133458268,"html_url":"https://github.com/synion/recruitment-web-app/pull/4","diff_url":"https://github.com/synion/recruitment-web-app/pull/4.diff","patch_url":"https://github.com/synion/recruitment-web-app/pull/4.patch","issue_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/4","number":4,"state":"open","locked":false,"title":"Fifth task","user":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"body":"@kovson ","created_at":"2017-08-01T12:17:16Z","updated_at":"2017-08-01T14:22:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2557d7fe705a617cbe016587e81cddc0fc514c7c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4/commits","review_comments_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4/comments","review_comment_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/4/comments","statuses_url":"https://api.github.com/repos/synion/recruitment-web-app/statuses/7c42b60d64cbf80260e4477fef822cfb87c0a861","head":{"label":"synion:fifth-task","ref":"fifth-task","sha":"7c42b60d64cbf80260e4477fef822cfb87c0a861","user":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"repo":{"id":97957669,"name":"recruitment-web-app","full_name":"synion/recruitment-web-app","owner":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/synion/recruitment-web-app","description":null,"fork":false,"url":"https://api.github.com/repos/synion/recruitment-web-app","forks_url":"https://api.github.com/repos/synion/recruitment-web-app/forks","keys_url":"https://api.github.com/repos/synion/recruitment-web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synion/recruitment-web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synion/recruitment-web-app/teams","hooks_url":"https://api.github.com/repos/synion/recruitment-web-app/hooks","issue_events_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/events{/number}","events_url":"https://api.github.com/repos/synion/recruitment-web-app/events","assignees_url":"https://api.github.com/repos/synion/recruitment-web-app/assignees{/user}","branches_url":"https://api.github.com/repos/synion/recruitment-web-app/branches{/branch}","tags_url":"https://api.github.com/repos/synion/recruitment-web-app/tags","blobs_url":"https://api.github.com/repos/synion/recruitment-web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synion/recruitment-web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synion/recruitment-web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/synion/recruitment-web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synion/recruitment-web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/synion/recruitment-web-app/languages","stargazers_url":"https://api.github.com/repos/synion/recruitment-web-app/stargazers","contributors_url":"https://api.github.com/repos/synion/recruitment-web-app/contributors","subscribers_url":"https://api.github.com/repos/synion/recruitment-web-app/subscribers","subscription_url":"https://api.github.com/repos/synion/recruitment-web-app/subscription","commits_url":"https://api.github.com/repos/synion/recruitment-web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/synion/recruitment-web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/synion/recruitment-web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/synion/recruitment-web-app/contents/{+path}","compare_url":"https://api.github.com/repos/synion/recruitment-web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synion/recruitment-web-app/merges","archive_url":"https://api.github.com/repos/synion/recruitment-web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synion/recruitment-web-app/downloads","issues_url":"https://api.github.com/repos/synion/recruitment-web-app/issues{/number}","pulls_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/synion/recruitment-web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/synion/recruitment-web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synion/recruitment-web-app/labels{/name}","releases_url":"https://api.github.com/repos/synion/recruitment-web-app/releases{/id}","deployments_url":"https://api.github.com/repos/synion/recruitment-web-app/deployments","created_at":"2017-07-21T14:40:21Z","updated_at":"2017-07-24T11:42:33Z","pushed_at":"2017-08-01T12:17:17Z","git_url":"git://github.com/synion/recruitment-web-app.git","ssh_url":"git@github.com:synion/recruitment-web-app.git","clone_url":"https://github.com/synion/recruitment-web-app.git","svn_url":"https://github.com/synion/recruitment-web-app","homepage":null,"size":81,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"synion:master","ref":"master","sha":"3f140ac39d91ec834062b9b838df07c14c531b17","user":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"repo":{"id":97957669,"name":"recruitment-web-app","full_name":"synion/recruitment-web-app","owner":{"login":"synion","id":15347819,"avatar_url":"https://avatars0.githubusercontent.com/u/15347819?v=4","gravatar_id":"","url":"https://api.github.com/users/synion","html_url":"https://github.com/synion","followers_url":"https://api.github.com/users/synion/followers","following_url":"https://api.github.com/users/synion/following{/other_user}","gists_url":"https://api.github.com/users/synion/gists{/gist_id}","starred_url":"https://api.github.com/users/synion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synion/subscriptions","organizations_url":"https://api.github.com/users/synion/orgs","repos_url":"https://api.github.com/users/synion/repos","events_url":"https://api.github.com/users/synion/events{/privacy}","received_events_url":"https://api.github.com/users/synion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/synion/recruitment-web-app","description":null,"fork":false,"url":"https://api.github.com/repos/synion/recruitment-web-app","forks_url":"https://api.github.com/repos/synion/recruitment-web-app/forks","keys_url":"https://api.github.com/repos/synion/recruitment-web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synion/recruitment-web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synion/recruitment-web-app/teams","hooks_url":"https://api.github.com/repos/synion/recruitment-web-app/hooks","issue_events_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/events{/number}","events_url":"https://api.github.com/repos/synion/recruitment-web-app/events","assignees_url":"https://api.github.com/repos/synion/recruitment-web-app/assignees{/user}","branches_url":"https://api.github.com/repos/synion/recruitment-web-app/branches{/branch}","tags_url":"https://api.github.com/repos/synion/recruitment-web-app/tags","blobs_url":"https://api.github.com/repos/synion/recruitment-web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synion/recruitment-web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synion/recruitment-web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/synion/recruitment-web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synion/recruitment-web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/synion/recruitment-web-app/languages","stargazers_url":"https://api.github.com/repos/synion/recruitment-web-app/stargazers","contributors_url":"https://api.github.com/repos/synion/recruitment-web-app/contributors","subscribers_url":"https://api.github.com/repos/synion/recruitment-web-app/subscribers","subscription_url":"https://api.github.com/repos/synion/recruitment-web-app/subscription","commits_url":"https://api.github.com/repos/synion/recruitment-web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/synion/recruitment-web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/synion/recruitment-web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/synion/recruitment-web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/synion/recruitment-web-app/contents/{+path}","compare_url":"https://api.github.com/repos/synion/recruitment-web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synion/recruitment-web-app/merges","archive_url":"https://api.github.com/repos/synion/recruitment-web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synion/recruitment-web-app/downloads","issues_url":"https://api.github.com/repos/synion/recruitment-web-app/issues{/number}","pulls_url":"https://api.github.com/repos/synion/recruitment-web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/synion/recruitment-web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/synion/recruitment-web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synion/recruitment-web-app/labels{/name}","releases_url":"https://api.github.com/repos/synion/recruitment-web-app/releases{/id}","deployments_url":"https://api.github.com/repos/synion/recruitment-web-app/deployments","created_at":"2017-07-21T14:40:21Z","updated_at":"2017-07-24T11:42:33Z","pushed_at":"2017-08-01T12:17:17Z","git_url":"git://github.com/synion/recruitment-web-app.git","ssh_url":"git@github.com:synion/recruitment-web-app.git","clone_url":"https://github.com/synion/recruitment-web-app.git","svn_url":"https://github.com/synion/recruitment-web-app","homepage":null,"size":81,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4"},"html":{"href":"https://github.com/synion/recruitment-web-app/pull/4"},"issue":{"href":"https://api.github.com/repos/synion/recruitment-web-app/issues/4"},"comments":{"href":"https://api.github.com/repos/synion/recruitment-web-app/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synion/recruitment-web-app/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/synion/recruitment-web-app/statuses/7c42b60d64cbf80260e4477fef822cfb87c0a861"}}}}
{"actor":{"display_login":"synion"}}