{"action":"created","comment":{"url":"https://api.github.com/repos/gebarros/rails/pulls/comments/228721650","pull_request_review_id":169065054,"id":228721650,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcyMTY1MA==","diff_hunk":"@@ -0,0 +1,78 @@\n+<!DOCTYPE html>\n+\n+<html>\n+<h1>Edita dados do paciente</h1>\n+\n+    <%= form_with(model: @patient, local: true) do |form| %>\n+       \n+        <table>\n+        <tr>\n+            <td>\n+            <%= form.label :nome %><br>\n+            <%= form.text_field :name %>\n+            </td>\n+            \n+            <td>\n+            <%= form.label :sexo %><br>","path":"lab/app/views/patients/edit.html.erb","position":16,"original_position":16,"commit_id":"d9d8557b04dee01bcaa206b9b5f05ea811b3ea1b","original_commit_id":"d9d8557b04dee01bcaa206b9b5f05ea811b3ea1b","user":{"login":"marcosinger","id":355174,"node_id":"MDQ6VXNlcjM1NTE3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/355174?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosinger","html_url":"https://github.com/marcosinger","followers_url":"https://api.github.com/users/marcosinger/followers","following_url":"https://api.github.com/users/marcosinger/following{/other_user}","gists_url":"https://api.github.com/users/marcosinger/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosinger/subscriptions","organizations_url":"https://api.github.com/users/marcosinger/orgs","repos_url":"https://api.github.com/users/marcosinger/repos","events_url":"https://api.github.com/users/marcosinger/events{/privacy}","received_events_url":"https://api.github.com/users/marcosinger/received_events","type":"User","site_admin":false},"body":"aqui é `:gender`. Isso serve para todos os outros abaixo","created_at":"2018-10-27T18:15:09Z","updated_at":"2018-10-27T18:17:09Z","html_url":"https://github.com/gebarros/rails/pull/2#discussion_r228721650","pull_request_url":"https://api.github.com/repos/gebarros/rails/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/gebarros/rails/pulls/comments/228721650"},"html":{"href":"https://github.com/gebarros/rails/pull/2#discussion_r228721650"},"pull_request":{"href":"https://api.github.com/repos/gebarros/rails/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/gebarros/rails/pulls/2","id":226305317,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzA1MzE3","html_url":"https://github.com/gebarros/rails/pull/2","diff_url":"https://github.com/gebarros/rails/pull/2.diff","patch_url":"https://github.com/gebarros/rails/pull/2.patch","issue_url":"https://api.github.com/repos/gebarros/rails/issues/2","number":2,"state":"open","locked":false,"title":"Feature/crud patient continuation","user":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"body":"**Descrição:**\r\nEsse PR finaliza a criação do CRUD para a classe pacientes.\r\nNa tela é possível adicionar um novo paciente, editar seus dados, deletar. Além da listagem completa e da opção de visualizar os detalhes.\r\n\r\nOs campos ainda não possuem nenhum tipo de validação.\r\n","created_at":"2018-10-27T16:16:25Z","updated_at":"2018-10-27T18:17:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d02ee81b079fdcd617b69c73a1b9f66bdd526c1a","assignee":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"assignees":[{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gebarros/rails/pulls/2/commits","review_comments_url":"https://api.github.com/repos/gebarros/rails/pulls/2/comments","review_comment_url":"https://api.github.com/repos/gebarros/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gebarros/rails/issues/2/comments","statuses_url":"https://api.github.com/repos/gebarros/rails/statuses/d9d8557b04dee01bcaa206b9b5f05ea811b3ea1b","head":{"label":"gebarros:feature/crud-patient-continuation","ref":"feature/crud-patient-continuation","sha":"d9d8557b04dee01bcaa206b9b5f05ea811b3ea1b","user":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"repo":{"id":153301119,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzMDExMTk=","name":"rails","full_name":"gebarros/rails","private":false,"owner":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gebarros/rails","description":null,"fork":false,"url":"https://api.github.com/repos/gebarros/rails","forks_url":"https://api.github.com/repos/gebarros/rails/forks","keys_url":"https://api.github.com/repos/gebarros/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gebarros/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gebarros/rails/teams","hooks_url":"https://api.github.com/repos/gebarros/rails/hooks","issue_events_url":"https://api.github.com/repos/gebarros/rails/issues/events{/number}","events_url":"https://api.github.com/repos/gebarros/rails/events","assignees_url":"https://api.github.com/repos/gebarros/rails/assignees{/user}","branches_url":"https://api.github.com/repos/gebarros/rails/branches{/branch}","tags_url":"https://api.github.com/repos/gebarros/rails/tags","blobs_url":"https://api.github.com/repos/gebarros/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gebarros/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gebarros/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/gebarros/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gebarros/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/gebarros/rails/languages","stargazers_url":"https://api.github.com/repos/gebarros/rails/stargazers","contributors_url":"https://api.github.com/repos/gebarros/rails/contributors","subscribers_url":"https://api.github.com/repos/gebarros/rails/subscribers","subscription_url":"https://api.github.com/repos/gebarros/rails/subscription","commits_url":"https://api.github.com/repos/gebarros/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/gebarros/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/gebarros/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/gebarros/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/gebarros/rails/contents/{+path}","compare_url":"https://api.github.com/repos/gebarros/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gebarros/rails/merges","archive_url":"https://api.github.com/repos/gebarros/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gebarros/rails/downloads","issues_url":"https://api.github.com/repos/gebarros/rails/issues{/number}","pulls_url":"https://api.github.com/repos/gebarros/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/gebarros/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/gebarros/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gebarros/rails/labels{/name}","releases_url":"https://api.github.com/repos/gebarros/rails/releases{/id}","deployments_url":"https://api.github.com/repos/gebarros/rails/deployments","created_at":"2018-10-16T14:35:32Z","updated_at":"2018-10-25T00:31:26Z","pushed_at":"2018-10-27T16:16:25Z","git_url":"git://github.com/gebarros/rails.git","ssh_url":"git@github.com:gebarros/rails.git","clone_url":"https://github.com/gebarros/rails.git","svn_url":"https://github.com/gebarros/rails","homepage":null,"size":33,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"gebarros:master","ref":"master","sha":"7797bf2d4e06ddfd664b1708f801189b01ea0894","user":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"repo":{"id":153301119,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzMDExMTk=","name":"rails","full_name":"gebarros/rails","private":false,"owner":{"login":"gebarros","id":22746201,"node_id":"MDQ6VXNlcjIyNzQ2MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/22746201?v=4","gravatar_id":"","url":"https://api.github.com/users/gebarros","html_url":"https://github.com/gebarros","followers_url":"https://api.github.com/users/gebarros/followers","following_url":"https://api.github.com/users/gebarros/following{/other_user}","gists_url":"https://api.github.com/users/gebarros/gists{/gist_id}","starred_url":"https://api.github.com/users/gebarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebarros/subscriptions","organizations_url":"https://api.github.com/users/gebarros/orgs","repos_url":"https://api.github.com/users/gebarros/repos","events_url":"https://api.github.com/users/gebarros/events{/privacy}","received_events_url":"https://api.github.com/users/gebarros/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gebarros/rails","description":null,"fork":false,"url":"https://api.github.com/repos/gebarros/rails","forks_url":"https://api.github.com/repos/gebarros/rails/forks","keys_url":"https://api.github.com/repos/gebarros/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gebarros/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gebarros/rails/teams","hooks_url":"https://api.github.com/repos/gebarros/rails/hooks","issue_events_url":"https://api.github.com/repos/gebarros/rails/issues/events{/number}","events_url":"https://api.github.com/repos/gebarros/rails/events","assignees_url":"https://api.github.com/repos/gebarros/rails/assignees{/user}","branches_url":"https://api.github.com/repos/gebarros/rails/branches{/branch}","tags_url":"https://api.github.com/repos/gebarros/rails/tags","blobs_url":"https://api.github.com/repos/gebarros/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gebarros/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gebarros/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/gebarros/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gebarros/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/gebarros/rails/languages","stargazers_url":"https://api.github.com/repos/gebarros/rails/stargazers","contributors_url":"https://api.github.com/repos/gebarros/rails/contributors","subscribers_url":"https://api.github.com/repos/gebarros/rails/subscribers","subscription_url":"https://api.github.com/repos/gebarros/rails/subscription","commits_url":"https://api.github.com/repos/gebarros/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/gebarros/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/gebarros/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/gebarros/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/gebarros/rails/contents/{+path}","compare_url":"https://api.github.com/repos/gebarros/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gebarros/rails/merges","archive_url":"https://api.github.com/repos/gebarros/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gebarros/rails/downloads","issues_url":"https://api.github.com/repos/gebarros/rails/issues{/number}","pulls_url":"https://api.github.com/repos/gebarros/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/gebarros/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/gebarros/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gebarros/rails/labels{/name}","releases_url":"https://api.github.com/repos/gebarros/rails/releases{/id}","deployments_url":"https://api.github.com/repos/gebarros/rails/deployments","created_at":"2018-10-16T14:35:32Z","updated_at":"2018-10-25T00:31:26Z","pushed_at":"2018-10-27T16:16:25Z","git_url":"git://github.com/gebarros/rails.git","ssh_url":"git@github.com:gebarros/rails.git","clone_url":"https://github.com/gebarros/rails.git","svn_url":"https://github.com/gebarros/rails","homepage":null,"size":33,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gebarros/rails/pulls/2"},"html":{"href":"https://github.com/gebarros/rails/pull/2"},"issue":{"href":"https://api.github.com/repos/gebarros/rails/issues/2"},"comments":{"href":"https://api.github.com/repos/gebarros/rails/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/gebarros/rails/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/gebarros/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gebarros/rails/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/gebarros/rails/statuses/d9d8557b04dee01bcaa206b9b5f05ea811b3ea1b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"marcosinger"}}