{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/comments/178199265","pull_request_review_id":108225530,"id":178199265,"diff_hunk":"@@ -0,0 +1,16 @@\n+Rails.application.routes.draw do\n+  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html\n+  root 'tasks#index'\n+\n+  get '/tasks', to: 'tasks#index', as: \"tasks\"\n+  get '/tasks/new', to: 'tasks#new', as: \"new_task\"\n+  post '/tasks', to: 'tasks#create'\n+\n+  get '/tasks/:id', to: 'tasks#show', as: \"task\"\n+  get '/tasks/:id/edit', to: 'tasks#edit', as: \"edit_task\"\n+  patch '/tasks/:id', to: 'tasks#update'\n+  put '/tasks/:id', to: 'tasks#mark_complete'\n+","path":"config/routes.rb","position":13,"original_position":13,"commit_id":"2406cdcff2967b6668115d826f309d8e859a39a4","original_commit_id":"2406cdcff2967b6668115d826f309d8e859a39a4","user":{"login":"droberts-ada","id":21064499,"avatar_url":"https://avatars1.githubusercontent.com/u/21064499?v=4","gravatar_id":"","url":"https://api.github.com/users/droberts-ada","html_url":"https://github.com/droberts-ada","followers_url":"https://api.github.com/users/droberts-ada/followers","following_url":"https://api.github.com/users/droberts-ada/following{/other_user}","gists_url":"https://api.github.com/users/droberts-ada/gists{/gist_id}","starred_url":"https://api.github.com/users/droberts-ada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droberts-ada/subscriptions","organizations_url":"https://api.github.com/users/droberts-ada/orgs","repos_url":"https://api.github.com/users/droberts-ada/repos","events_url":"https://api.github.com/users/droberts-ada/events{/privacy}","received_events_url":"https://api.github.com/users/droberts-ada/received_events","type":"User","site_admin":false},"body":"Since the `mark_complete` route is non-RESTful anyway, it might be more clear to give it a more descriptive path, something like `put '/tasks/:id/mark_complete'`.\r\n\r\nAs is you're relying on the difference between PATCH and PUT, which doesn't give a lot of info for example when looking at the server output.","created_at":"2018-03-29T22:36:12Z","updated_at":"2018-03-29T22:39:43Z","html_url":"https://github.com/Ada-C9/TaskList/pull/25#discussion_r178199265","pull_request_url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/comments/178199265"},"html":{"href":"https://github.com/Ada-C9/TaskList/pull/25#discussion_r178199265"},"pull_request":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25","id":177333637,"html_url":"https://github.com/Ada-C9/TaskList/pull/25","diff_url":"https://github.com/Ada-C9/TaskList/pull/25.diff","patch_url":"https://github.com/Ada-C9/TaskList/pull/25.patch","issue_url":"https://api.github.com/repos/Ada-C9/TaskList/issues/25","number":25,"state":"open","locked":false,"title":"Wini Irarrazaval - Task List -Octos","user":{"login":"winirarrazaval","id":21180731,"avatar_url":"https://avatars1.githubusercontent.com/u/21180731?v=4","gravatar_id":"","url":"https://api.github.com/users/winirarrazaval","html_url":"https://github.com/winirarrazaval","followers_url":"https://api.github.com/users/winirarrazaval/followers","following_url":"https://api.github.com/users/winirarrazaval/following{/other_user}","gists_url":"https://api.github.com/users/winirarrazaval/gists{/gist_id}","starred_url":"https://api.github.com/users/winirarrazaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winirarrazaval/subscriptions","organizations_url":"https://api.github.com/users/winirarrazaval/orgs","repos_url":"https://api.github.com/users/winirarrazaval/repos","events_url":"https://api.github.com/users/winirarrazaval/events{/privacy}","received_events_url":"https://api.github.com/users/winirarrazaval/received_events","type":"User","site_admin":false},"body":"# Task List\r\nCongratulations! You're submitting your assignment!\r\n\r\n## Comprehension Questions\r\nQuestion | Answer\r\n:------------- | :-------------\r\nDescribe in your own words what the Model is doing in Rails | Models are used to do CRUD to database\r\nDescribe in your own words what the Controller is doing in Rails | The controller is getting the request from the router and using the method the router said. Then it looks for a view (html) for that method to give to the user. At the same it retrieves info from the database, or it changes information in the db. and then it sends back to the browser a response.\r\nDescribe in your own words what the View is doing in Rails | The view is giving an HTML (connected to the stylesheet, css) to the controller who sends it back to the browser.\r\nWhat is the purpose of using strong params? (i.e. the params method in the controller) |  It is to make a method so we can use parameters  from the forms and change in the data base and be able to use them with out having to repeat ourselves.\r\nHow are Rails migrations related to Rails models? | Migrations are what we do to change the schema of the database that then , with the crud actions we manage.\r\nDescribe one area of Rails that are still unclear on | I am  not even sure how to respond. I feel I understand how it works in general but need more clarity on the things that have to be done \"just because rails says so\". \r\n","created_at":"2018-03-26T03:16:09Z","updated_at":"2018-03-29T22:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de50f03961d4ce826df6f9d5abfba04822aa4fa8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25/commits","review_comments_url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25/comments","review_comment_url":"https://api.github.com/repos/Ada-C9/TaskList/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C9/TaskList/issues/25/comments","statuses_url":"https://api.github.com/repos/Ada-C9/TaskList/statuses/2406cdcff2967b6668115d826f309d8e859a39a4","head":{"label":"winirarrazaval:master","ref":"master","sha":"2406cdcff2967b6668115d826f309d8e859a39a4","user":{"login":"winirarrazaval","id":21180731,"avatar_url":"https://avatars1.githubusercontent.com/u/21180731?v=4","gravatar_id":"","url":"https://api.github.com/users/winirarrazaval","html_url":"https://github.com/winirarrazaval","followers_url":"https://api.github.com/users/winirarrazaval/followers","following_url":"https://api.github.com/users/winirarrazaval/following{/other_user}","gists_url":"https://api.github.com/users/winirarrazaval/gists{/gist_id}","starred_url":"https://api.github.com/users/winirarrazaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winirarrazaval/subscriptions","organizations_url":"https://api.github.com/users/winirarrazaval/orgs","repos_url":"https://api.github.com/users/winirarrazaval/repos","events_url":"https://api.github.com/users/winirarrazaval/events{/privacy}","received_events_url":"https://api.github.com/users/winirarrazaval/received_events","type":"User","site_admin":false},"repo":{"id":125928807,"name":"TaskList","full_name":"winirarrazaval/TaskList","owner":{"login":"winirarrazaval","id":21180731,"avatar_url":"https://avatars1.githubusercontent.com/u/21180731?v=4","gravatar_id":"","url":"https://api.github.com/users/winirarrazaval","html_url":"https://github.com/winirarrazaval","followers_url":"https://api.github.com/users/winirarrazaval/followers","following_url":"https://api.github.com/users/winirarrazaval/following{/other_user}","gists_url":"https://api.github.com/users/winirarrazaval/gists{/gist_id}","starred_url":"https://api.github.com/users/winirarrazaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winirarrazaval/subscriptions","organizations_url":"https://api.github.com/users/winirarrazaval/orgs","repos_url":"https://api.github.com/users/winirarrazaval/repos","events_url":"https://api.github.com/users/winirarrazaval/events{/privacy}","received_events_url":"https://api.github.com/users/winirarrazaval/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/winirarrazaval/TaskList","description":null,"fork":true,"url":"https://api.github.com/repos/winirarrazaval/TaskList","forks_url":"https://api.github.com/repos/winirarrazaval/TaskList/forks","keys_url":"https://api.github.com/repos/winirarrazaval/TaskList/keys{/key_id}","collaborators_url":"https://api.github.com/repos/winirarrazaval/TaskList/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/winirarrazaval/TaskList/teams","hooks_url":"https://api.github.com/repos/winirarrazaval/TaskList/hooks","issue_events_url":"https://api.github.com/repos/winirarrazaval/TaskList/issues/events{/number}","events_url":"https://api.github.com/repos/winirarrazaval/TaskList/events","assignees_url":"https://api.github.com/repos/winirarrazaval/TaskList/assignees{/user}","branches_url":"https://api.github.com/repos/winirarrazaval/TaskList/branches{/branch}","tags_url":"https://api.github.com/repos/winirarrazaval/TaskList/tags","blobs_url":"https://api.github.com/repos/winirarrazaval/TaskList/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/winirarrazaval/TaskList/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/winirarrazaval/TaskList/git/refs{/sha}","trees_url":"https://api.github.com/repos/winirarrazaval/TaskList/git/trees{/sha}","statuses_url":"https://api.github.com/repos/winirarrazaval/TaskList/statuses/{sha}","languages_url":"https://api.github.com/repos/winirarrazaval/TaskList/languages","stargazers_url":"https://api.github.com/repos/winirarrazaval/TaskList/stargazers","contributors_url":"https://api.github.com/repos/winirarrazaval/TaskList/contributors","subscribers_url":"https://api.github.com/repos/winirarrazaval/TaskList/subscribers","subscription_url":"https://api.github.com/repos/winirarrazaval/TaskList/subscription","commits_url":"https://api.github.com/repos/winirarrazaval/TaskList/commits{/sha}","git_commits_url":"https://api.github.com/repos/winirarrazaval/TaskList/git/commits{/sha}","comments_url":"https://api.github.com/repos/winirarrazaval/TaskList/comments{/number}","issue_comment_url":"https://api.github.com/repos/winirarrazaval/TaskList/issues/comments{/number}","contents_url":"https://api.github.com/repos/winirarrazaval/TaskList/contents/{+path}","compare_url":"https://api.github.com/repos/winirarrazaval/TaskList/compare/{base}...{head}","merges_url":"https://api.github.com/repos/winirarrazaval/TaskList/merges","archive_url":"https://api.github.com/repos/winirarrazaval/TaskList/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/winirarrazaval/TaskList/downloads","issues_url":"https://api.github.com/repos/winirarrazaval/TaskList/issues{/number}","pulls_url":"https://api.github.com/repos/winirarrazaval/TaskList/pulls{/number}","milestones_url":"https://api.github.com/repos/winirarrazaval/TaskList/milestones{/number}","notifications_url":"https://api.github.com/repos/winirarrazaval/TaskList/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/winirarrazaval/TaskList/labels{/name}","releases_url":"https://api.github.com/repos/winirarrazaval/TaskList/releases{/id}","deployments_url":"https://api.github.com/repos/winirarrazaval/TaskList/deployments","created_at":"2018-03-19T22:32:22Z","updated_at":"2018-03-26T02:43:44Z","pushed_at":"2018-03-26T02:43:43Z","git_url":"git://github.com/winirarrazaval/TaskList.git","ssh_url":"git@github.com:winirarrazaval/TaskList.git","clone_url":"https://github.com/winirarrazaval/TaskList.git","svn_url":"https://github.com/winirarrazaval/TaskList","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ada-C9:master","ref":"master","sha":"c31ee7981160045de56a1b39d631966e415cd1d8","user":{"login":"Ada-C9","id":35278806,"avatar_url":"https://avatars0.githubusercontent.com/u/35278806?v=4","gravatar_id":"","url":"https://api.github.com/users/Ada-C9","html_url":"https://github.com/Ada-C9","followers_url":"https://api.github.com/users/Ada-C9/followers","following_url":"https://api.github.com/users/Ada-C9/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C9/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C9/subscriptions","organizations_url":"https://api.github.com/users/Ada-C9/orgs","repos_url":"https://api.github.com/users/Ada-C9/repos","events_url":"https://api.github.com/users/Ada-C9/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C9/received_events","type":"Organization","site_admin":false},"repo":{"id":125143499,"name":"TaskList","full_name":"Ada-C9/TaskList","owner":{"login":"Ada-C9","id":35278806,"avatar_url":"https://avatars0.githubusercontent.com/u/35278806?v=4","gravatar_id":"","url":"https://api.github.com/users/Ada-C9","html_url":"https://github.com/Ada-C9","followers_url":"https://api.github.com/users/Ada-C9/followers","following_url":"https://api.github.com/users/Ada-C9/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C9/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C9/subscriptions","organizations_url":"https://api.github.com/users/Ada-C9/orgs","repos_url":"https://api.github.com/users/Ada-C9/repos","events_url":"https://api.github.com/users/Ada-C9/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C9/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-C9/TaskList","description":null,"fork":true,"url":"https://api.github.com/repos/Ada-C9/TaskList","forks_url":"https://api.github.com/repos/Ada-C9/TaskList/forks","keys_url":"https://api.github.com/repos/Ada-C9/TaskList/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C9/TaskList/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C9/TaskList/teams","hooks_url":"https://api.github.com/repos/Ada-C9/TaskList/hooks","issue_events_url":"https://api.github.com/repos/Ada-C9/TaskList/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C9/TaskList/events","assignees_url":"https://api.github.com/repos/Ada-C9/TaskList/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C9/TaskList/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C9/TaskList/tags","blobs_url":"https://api.github.com/repos/Ada-C9/TaskList/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C9/TaskList/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C9/TaskList/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C9/TaskList/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C9/TaskList/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C9/TaskList/languages","stargazers_url":"https://api.github.com/repos/Ada-C9/TaskList/stargazers","contributors_url":"https://api.github.com/repos/Ada-C9/TaskList/contributors","subscribers_url":"https://api.github.com/repos/Ada-C9/TaskList/subscribers","subscription_url":"https://api.github.com/repos/Ada-C9/TaskList/subscription","commits_url":"https://api.github.com/repos/Ada-C9/TaskList/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C9/TaskList/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C9/TaskList/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C9/TaskList/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C9/TaskList/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C9/TaskList/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C9/TaskList/merges","archive_url":"https://api.github.com/repos/Ada-C9/TaskList/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C9/TaskList/downloads","issues_url":"https://api.github.com/repos/Ada-C9/TaskList/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C9/TaskList/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C9/TaskList/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C9/TaskList/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C9/TaskList/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C9/TaskList/releases{/id}","deployments_url":"https://api.github.com/repos/Ada-C9/TaskList/deployments","created_at":"2018-03-14T02:26:58Z","updated_at":"2018-03-29T19:48:18Z","pushed_at":"2018-03-29T19:48:07Z","git_url":"git://github.com/Ada-C9/TaskList.git","ssh_url":"git@github.com:Ada-C9/TaskList.git","clone_url":"https://github.com/Ada-C9/TaskList.git","svn_url":"https://github.com/Ada-C9/TaskList","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":43,"license":null,"forks":46,"open_issues":43,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25"},"html":{"href":"https://github.com/Ada-C9/TaskList/pull/25"},"issue":{"href":"https://api.github.com/repos/Ada-C9/TaskList/issues/25"},"comments":{"href":"https://api.github.com/repos/Ada-C9/TaskList/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C9/TaskList/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C9/TaskList/statuses/2406cdcff2967b6668115d826f309d8e859a39a4"}},"author_association":"NONE"}}
{"actor":{"display_login":"droberts-ada"}}