{"action":"created","comment":{"url":"https://api.github.com/repos/Phin89/appointments/pulls/comments/198252718","pull_request_review_id":132147830,"id":198252718,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODI1MjcxOA==","diff_hunk":"@@ -0,0 +1,15 @@\n+<h1>Appointments</h1>\n+<table>\n+    <tr>\n+        <th>Date</th>\n+        <th>Customer</th>\n+        <th>Time</th>\n+    </tr>\n+    <% @appointments.each do |appointment| %>\n+        <tr>\n+            <td><%= appointment.date %></td>\n+            <td><%= appointment.customer.first_name %></td>","path":"app/views/appointments/index.html.erb","position":11,"original_position":11,"commit_id":"45fe7a5b74d912ee06ebff6f66782b9cde4e9cd7","original_commit_id":"45fe7a5b74d912ee06ebff6f66782b9cde4e9cd7","user":{"login":"graffzon","id":701016,"node_id":"MDQ6VXNlcjcwMTAxNg==","avatar_url":"https://avatars1.githubusercontent.com/u/701016?v=4","gravatar_id":"","url":"https://api.github.com/users/graffzon","html_url":"https://github.com/graffzon","followers_url":"https://api.github.com/users/graffzon/followers","following_url":"https://api.github.com/users/graffzon/following{/other_user}","gists_url":"https://api.github.com/users/graffzon/gists{/gist_id}","starred_url":"https://api.github.com/users/graffzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graffzon/subscriptions","organizations_url":"https://api.github.com/users/graffzon/orgs","repos_url":"https://api.github.com/users/graffzon/repos","events_url":"https://api.github.com/users/graffzon/events{/privacy}","received_events_url":"https://api.github.com/users/graffzon/received_events","type":"User","site_admin":false},"body":"Я скорее всего забуду, пометь где-нибудь себе, что нам нужно будет поговорить про N+1 bug и Presenters pattern.\r\nПрямо сейчас этим заниматься не будем, пока на фичах сосредоточимся. Это через неделю-две возьмем, когда за рефакторинг возьмемся.","created_at":"2018-06-26T18:28:56Z","updated_at":"2018-06-26T18:31:24Z","html_url":"https://github.com/Phin89/appointments/pull/1#discussion_r198252718","pull_request_url":"https://api.github.com/repos/Phin89/appointments/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Phin89/appointments/pulls/comments/198252718"},"html":{"href":"https://github.com/Phin89/appointments/pull/1#discussion_r198252718"},"pull_request":{"href":"https://api.github.com/repos/Phin89/appointments/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Phin89/appointments/pulls/1","id":197304676,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MzA0Njc2","html_url":"https://github.com/Phin89/appointments/pull/1","diff_url":"https://github.com/Phin89/appointments/pull/1.diff","patch_url":"https://github.com/Phin89/appointments/pull/1.patch","issue_url":"https://api.github.com/repos/Phin89/appointments/issues/1","number":1,"state":"open","locked":false,"title":"Add appointments","user":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"body":"Small pr, just for try.","created_at":"2018-06-26T05:19:07Z","updated_at":"2018-06-26T18:31:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb121870ac32da8d3abc71e6f9e84258acb4cc2e","assignee":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"assignees":[{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":974391161,"node_id":"MDU6TGFiZWw5NzQzOTExNjE=","url":"https://api.github.com/repos/Phin89/appointments/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Phin89/appointments/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Phin89/appointments/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Phin89/appointments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Phin89/appointments/issues/1/comments","statuses_url":"https://api.github.com/repos/Phin89/appointments/statuses/45fe7a5b74d912ee06ebff6f66782b9cde4e9cd7","head":{"label":"Phin89:feature","ref":"feature","sha":"45fe7a5b74d912ee06ebff6f66782b9cde4e9cd7","user":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"repo":{"id":138555259,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1NTUyNTk=","name":"appointments","full_name":"Phin89/appointments","owner":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Phin89/appointments","description":null,"fork":false,"url":"https://api.github.com/repos/Phin89/appointments","forks_url":"https://api.github.com/repos/Phin89/appointments/forks","keys_url":"https://api.github.com/repos/Phin89/appointments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Phin89/appointments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Phin89/appointments/teams","hooks_url":"https://api.github.com/repos/Phin89/appointments/hooks","issue_events_url":"https://api.github.com/repos/Phin89/appointments/issues/events{/number}","events_url":"https://api.github.com/repos/Phin89/appointments/events","assignees_url":"https://api.github.com/repos/Phin89/appointments/assignees{/user}","branches_url":"https://api.github.com/repos/Phin89/appointments/branches{/branch}","tags_url":"https://api.github.com/repos/Phin89/appointments/tags","blobs_url":"https://api.github.com/repos/Phin89/appointments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Phin89/appointments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Phin89/appointments/git/refs{/sha}","trees_url":"https://api.github.com/repos/Phin89/appointments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Phin89/appointments/statuses/{sha}","languages_url":"https://api.github.com/repos/Phin89/appointments/languages","stargazers_url":"https://api.github.com/repos/Phin89/appointments/stargazers","contributors_url":"https://api.github.com/repos/Phin89/appointments/contributors","subscribers_url":"https://api.github.com/repos/Phin89/appointments/subscribers","subscription_url":"https://api.github.com/repos/Phin89/appointments/subscription","commits_url":"https://api.github.com/repos/Phin89/appointments/commits{/sha}","git_commits_url":"https://api.github.com/repos/Phin89/appointments/git/commits{/sha}","comments_url":"https://api.github.com/repos/Phin89/appointments/comments{/number}","issue_comment_url":"https://api.github.com/repos/Phin89/appointments/issues/comments{/number}","contents_url":"https://api.github.com/repos/Phin89/appointments/contents/{+path}","compare_url":"https://api.github.com/repos/Phin89/appointments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Phin89/appointments/merges","archive_url":"https://api.github.com/repos/Phin89/appointments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Phin89/appointments/downloads","issues_url":"https://api.github.com/repos/Phin89/appointments/issues{/number}","pulls_url":"https://api.github.com/repos/Phin89/appointments/pulls{/number}","milestones_url":"https://api.github.com/repos/Phin89/appointments/milestones{/number}","notifications_url":"https://api.github.com/repos/Phin89/appointments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Phin89/appointments/labels{/name}","releases_url":"https://api.github.com/repos/Phin89/appointments/releases{/id}","deployments_url":"https://api.github.com/repos/Phin89/appointments/deployments","created_at":"2018-06-25T06:57:54Z","updated_at":"2018-06-25T07:25:42Z","pushed_at":"2018-06-26T05:19:07Z","git_url":"git://github.com/Phin89/appointments.git","ssh_url":"git@github.com:Phin89/appointments.git","clone_url":"https://github.com/Phin89/appointments.git","svn_url":"https://github.com/Phin89/appointments","homepage":null,"size":26,"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":"Phin89:master","ref":"master","sha":"e63ef9014c4f71e8d4a85fbcbf688ce34ff8f7af","user":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"repo":{"id":138555259,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1NTUyNTk=","name":"appointments","full_name":"Phin89/appointments","owner":{"login":"Phin89","id":10153879,"node_id":"MDQ6VXNlcjEwMTUzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10153879?v=4","gravatar_id":"","url":"https://api.github.com/users/Phin89","html_url":"https://github.com/Phin89","followers_url":"https://api.github.com/users/Phin89/followers","following_url":"https://api.github.com/users/Phin89/following{/other_user}","gists_url":"https://api.github.com/users/Phin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Phin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phin89/subscriptions","organizations_url":"https://api.github.com/users/Phin89/orgs","repos_url":"https://api.github.com/users/Phin89/repos","events_url":"https://api.github.com/users/Phin89/events{/privacy}","received_events_url":"https://api.github.com/users/Phin89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Phin89/appointments","description":null,"fork":false,"url":"https://api.github.com/repos/Phin89/appointments","forks_url":"https://api.github.com/repos/Phin89/appointments/forks","keys_url":"https://api.github.com/repos/Phin89/appointments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Phin89/appointments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Phin89/appointments/teams","hooks_url":"https://api.github.com/repos/Phin89/appointments/hooks","issue_events_url":"https://api.github.com/repos/Phin89/appointments/issues/events{/number}","events_url":"https://api.github.com/repos/Phin89/appointments/events","assignees_url":"https://api.github.com/repos/Phin89/appointments/assignees{/user}","branches_url":"https://api.github.com/repos/Phin89/appointments/branches{/branch}","tags_url":"https://api.github.com/repos/Phin89/appointments/tags","blobs_url":"https://api.github.com/repos/Phin89/appointments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Phin89/appointments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Phin89/appointments/git/refs{/sha}","trees_url":"https://api.github.com/repos/Phin89/appointments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Phin89/appointments/statuses/{sha}","languages_url":"https://api.github.com/repos/Phin89/appointments/languages","stargazers_url":"https://api.github.com/repos/Phin89/appointments/stargazers","contributors_url":"https://api.github.com/repos/Phin89/appointments/contributors","subscribers_url":"https://api.github.com/repos/Phin89/appointments/subscribers","subscription_url":"https://api.github.com/repos/Phin89/appointments/subscription","commits_url":"https://api.github.com/repos/Phin89/appointments/commits{/sha}","git_commits_url":"https://api.github.com/repos/Phin89/appointments/git/commits{/sha}","comments_url":"https://api.github.com/repos/Phin89/appointments/comments{/number}","issue_comment_url":"https://api.github.com/repos/Phin89/appointments/issues/comments{/number}","contents_url":"https://api.github.com/repos/Phin89/appointments/contents/{+path}","compare_url":"https://api.github.com/repos/Phin89/appointments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Phin89/appointments/merges","archive_url":"https://api.github.com/repos/Phin89/appointments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Phin89/appointments/downloads","issues_url":"https://api.github.com/repos/Phin89/appointments/issues{/number}","pulls_url":"https://api.github.com/repos/Phin89/appointments/pulls{/number}","milestones_url":"https://api.github.com/repos/Phin89/appointments/milestones{/number}","notifications_url":"https://api.github.com/repos/Phin89/appointments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Phin89/appointments/labels{/name}","releases_url":"https://api.github.com/repos/Phin89/appointments/releases{/id}","deployments_url":"https://api.github.com/repos/Phin89/appointments/deployments","created_at":"2018-06-25T06:57:54Z","updated_at":"2018-06-25T07:25:42Z","pushed_at":"2018-06-26T05:19:07Z","git_url":"git://github.com/Phin89/appointments.git","ssh_url":"git@github.com:Phin89/appointments.git","clone_url":"https://github.com/Phin89/appointments.git","svn_url":"https://github.com/Phin89/appointments","homepage":null,"size":26,"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/Phin89/appointments/pulls/1"},"html":{"href":"https://github.com/Phin89/appointments/pull/1"},"issue":{"href":"https://api.github.com/repos/Phin89/appointments/issues/1"},"comments":{"href":"https://api.github.com/repos/Phin89/appointments/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Phin89/appointments/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Phin89/appointments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Phin89/appointments/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Phin89/appointments/statuses/45fe7a5b74d912ee06ebff6f66782b9cde4e9cd7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"graffzon"}}