{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/comments/112765248","pull_request_review_id":34110610,"id":112765248,"diff_hunk":"@@ -6,45 +6,54 @@ Place your responses inside the fenced code-blocks where indicated by comments.\n What are two ways of telling rails where to route a GET request to '/books/4'?\n \n ```rb\n-// your response here\n+curl --include --request GET http://localhost:4741/books/4\n+\n+API=\"${API_ORIGIN:-http://localhost:4741/books/4}\"\n+URL_PATH=\"/examples\"\n+curl \"${API}${URL_PATH}\" \\\n+  --include \\\n+  --request GET \\\n+  --header \"Authorization: Token token=$TOKEN\"\n+\n ```\n \n In what file does the above code go?\n \n ```md\n-// your response here\n+This code would go in the scripts folder.  An example file in that folder may be \"get-ingredient.sh\"\n ```\n \n In your own words, what does the command `bundle exec rake db:migrate` do?\n \n ```md\n-// your response here\n+It executes the rake script specific to your gemfile.  The command db:migrate runs migrations that have yet to run.\n+\n ```\n \n What is the difference between `rails g scaffold things` and\n `rails g controller things`?\n \n ```md\n-// your response here\n+\"Rails g scaffold things\" creates a full set of model, database migration for the model, controller, and views.  \"Rails g controller things\" specifically creates a new controller called things.\n ```\n \n What is the job of the `serializer`?\n \n ```md\n-// your response here\n+A serializer describe which attributes and relationships should be serialized.  They are used for rendering JSON responses.\n ```\n \n What do we expect the command `Patient.all` to return?\n \n ```md\n-// your response here\n+// Nothing on its own, but it refers to all instances of patient.","path":"diagnostic.md","position":50,"original_position":50,"commit_id":"a4b4e105298ea63bb238008e1d396eda4fc4b94b","original_commit_id":"a4b4e105298ea63bb238008e1d396eda4fc4b94b","user":{"login":"Jcornmanhomonoff","id":17557070,"avatar_url":"https://avatars1.githubusercontent.com/u/17557070?v=3","gravatar_id":"","url":"https://api.github.com/users/Jcornmanhomonoff","html_url":"https://github.com/Jcornmanhomonoff","followers_url":"https://api.github.com/users/Jcornmanhomonoff/followers","following_url":"https://api.github.com/users/Jcornmanhomonoff/following{/other_user}","gists_url":"https://api.github.com/users/Jcornmanhomonoff/gists{/gist_id}","starred_url":"https://api.github.com/users/Jcornmanhomonoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jcornmanhomonoff/subscriptions","organizations_url":"https://api.github.com/users/Jcornmanhomonoff/orgs","repos_url":"https://api.github.com/users/Jcornmanhomonoff/repos","events_url":"https://api.github.com/users/Jcornmanhomonoff/events{/privacy}","received_events_url":"https://api.github.com/users/Jcornmanhomonoff/received_events","type":"User","site_admin":false},"body":"It returns all of the records in the patients table.","created_at":"2017-04-21T19:57:32Z","updated_at":"2017-04-21T19:57:32Z","html_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99#discussion_r112765248","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/comments/112765248"},"html":{"href":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99#discussion_r112765248"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99","id":116771551,"html_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99","diff_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99.diff","patch_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/99","number":99,"state":"open","locked":false,"title":"Rails-api-single-resource-diagnostic","user":{"login":"brianedmunds","id":26188276,"avatar_url":"https://avatars1.githubusercontent.com/u/26188276?v=3","gravatar_id":"","url":"https://api.github.com/users/brianedmunds","html_url":"https://github.com/brianedmunds","followers_url":"https://api.github.com/users/brianedmunds/followers","following_url":"https://api.github.com/users/brianedmunds/following{/other_user}","gists_url":"https://api.github.com/users/brianedmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/brianedmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianedmunds/subscriptions","organizations_url":"https://api.github.com/users/brianedmunds/orgs","repos_url":"https://api.github.com/users/brianedmunds/repos","events_url":"https://api.github.com/users/brianedmunds/events{/privacy}","received_events_url":"https://api.github.com/users/brianedmunds/received_events","type":"User","site_admin":false},"body":"Comfort: 3\r\nClarity: 3\r\n\r\nI used Google and my notes.\r\n\r\nRan out of time.","created_at":"2017-04-20T13:30:53Z","updated_at":"2017-04-21T19:57:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b46f59d3a563a4640e40348df8808f85b055b481","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/99/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/statuses/a4b4e105298ea63bb238008e1d396eda4fc4b94b","head":{"label":"brianedmunds:response","ref":"response","sha":"a4b4e105298ea63bb238008e1d396eda4fc4b94b","user":{"login":"brianedmunds","id":26188276,"avatar_url":"https://avatars1.githubusercontent.com/u/26188276?v=3","gravatar_id":"","url":"https://api.github.com/users/brianedmunds","html_url":"https://github.com/brianedmunds","followers_url":"https://api.github.com/users/brianedmunds/followers","following_url":"https://api.github.com/users/brianedmunds/following{/other_user}","gists_url":"https://api.github.com/users/brianedmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/brianedmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianedmunds/subscriptions","organizations_url":"https://api.github.com/users/brianedmunds/orgs","repos_url":"https://api.github.com/users/brianedmunds/repos","events_url":"https://api.github.com/users/brianedmunds/events{/privacy}","received_events_url":"https://api.github.com/users/brianedmunds/received_events","type":"User","site_admin":false},"repo":{"id":88866046,"name":"rails-api-single-resource-diagnostic","full_name":"brianedmunds/rails-api-single-resource-diagnostic","owner":{"login":"brianedmunds","id":26188276,"avatar_url":"https://avatars1.githubusercontent.com/u/26188276?v=3","gravatar_id":"","url":"https://api.github.com/users/brianedmunds","html_url":"https://github.com/brianedmunds","followers_url":"https://api.github.com/users/brianedmunds/followers","following_url":"https://api.github.com/users/brianedmunds/following{/other_user}","gists_url":"https://api.github.com/users/brianedmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/brianedmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianedmunds/subscriptions","organizations_url":"https://api.github.com/users/brianedmunds/orgs","repos_url":"https://api.github.com/users/brianedmunds/repos","events_url":"https://api.github.com/users/brianedmunds/events{/privacy}","received_events_url":"https://api.github.com/users/brianedmunds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianedmunds/rails-api-single-resource-diagnostic","description":null,"fork":true,"url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic","forks_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/forks","keys_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/teams","hooks_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/hooks","issue_events_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/issues/events{/number}","events_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/events","assignees_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/assignees{/user}","branches_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/branches{/branch}","tags_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/tags","blobs_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/statuses/{sha}","languages_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/languages","stargazers_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/stargazers","contributors_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/contributors","subscribers_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/subscribers","subscription_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/subscription","commits_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/contents/{+path}","compare_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/merges","archive_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/downloads","issues_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/issues{/number}","pulls_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/pulls{/number}","milestones_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/milestones{/number}","notifications_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/labels{/name}","releases_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/releases{/id}","deployments_url":"https://api.github.com/repos/brianedmunds/rails-api-single-resource-diagnostic/deployments","created_at":"2017-04-20T13:01:29Z","updated_at":"2017-02-13T17:00:07Z","pushed_at":"2017-04-20T13:30:43Z","git_url":"git://github.com/brianedmunds/rails-api-single-resource-diagnostic.git","ssh_url":"git@github.com:brianedmunds/rails-api-single-resource-diagnostic.git","clone_url":"https://github.com/brianedmunds/rails-api-single-resource-diagnostic.git","svn_url":"https://github.com/brianedmunds/rails-api-single-resource-diagnostic","homepage":null,"size":30,"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":"ga-wdi-boston:master","ref":"master","sha":"5d91d6f22e4aa281ee1567c6e2eba8958e95cb25","user":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars0.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"repo":{"id":65339451,"name":"rails-api-single-resource-diagnostic","full_name":"ga-wdi-boston/rails-api-single-resource-diagnostic","owner":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars0.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic","description":null,"fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic","forks_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/deployments","created_at":"2016-08-10T01:13:27Z","updated_at":"2017-02-13T17:00:07Z","pushed_at":"2017-04-20T13:32:50Z","git_url":"git://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic.git","ssh_url":"git@github.com:ga-wdi-boston/rails-api-single-resource-diagnostic.git","clone_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic.git","svn_url":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":38,"forks":101,"open_issues":38,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99"},"html":{"href":"https://github.com/ga-wdi-boston/rails-api-single-resource-diagnostic/pull/99"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/99"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/rails-api-single-resource-diagnostic/statuses/a4b4e105298ea63bb238008e1d396eda4fc4b94b"}}}}
{"actor":{"display_login":"Jcornmanhomonoff"}}