{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/comments/44307416","id":44307416,"diff_hunk":"@@ -49,7 +54,8 @@ add her to the list of guests in the castle.\n \n Write your code here:\n ```ruby\n-# code here\n+town.resident.delete(name: \"Belle\")\n+castle.resident.create(name: \"Belle\")\n ```","path":"README.md","position":21,"original_position":21,"commit_id":"8856cfe4ba0c66386ec1c582cfd3085d6c7570ab","original_commit_id":"8856cfe4ba0c66386ec1c582cfd3085d6c7570ab","user":{"login":"amaseda","id":3519147,"avatar_url":"https://avatars.githubusercontent.com/u/3519147?v=3","gravatar_id":"","url":"https://api.github.com/users/amaseda","html_url":"https://github.com/amaseda","followers_url":"https://api.github.com/users/amaseda/followers","following_url":"https://api.github.com/users/amaseda/following{/other_user}","gists_url":"https://api.github.com/users/amaseda/gists{/gist_id}","starred_url":"https://api.github.com/users/amaseda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaseda/subscriptions","organizations_url":"https://api.github.com/users/amaseda/orgs","repos_url":"https://api.github.com/users/amaseda/repos","events_url":"https://api.github.com/users/amaseda/events{/privacy}","received_events_url":"https://api.github.com/users/amaseda/received_events","type":"User","site_admin":false},"body":"We're working with a normal ruby hash here -- not ActiveRecord. So to delete \"Belle\" from residents and add her to guests, both of which are arrays, we would so something like this...\r\n\r\n```\r\ntown[\"residents\"][1].delete\r\ntown[\"castle\"][\"guests\"] << \"Belle\"\r\n```","created_at":"2015-11-09T18:05:08Z","updated_at":"2015-11-09T18:05:08Z","html_url":"https://github.com/ga-dc/wdi7-quiz3/pull/48#discussion_r44307416","pull_request_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/comments/44307416"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz3/pull/48#discussion_r44307416"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48","id":50131023,"html_url":"https://github.com/ga-dc/wdi7-quiz3/pull/48","diff_url":"https://github.com/ga-dc/wdi7-quiz3/pull/48.diff","patch_url":"https://github.com/ga-dc/wdi7-quiz3/pull/48.patch","issue_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/48","number":48,"state":"open","locked":false,"title":"Quiz 3","user":{"login":"321campbell","id":13697957,"avatar_url":"https://avatars.githubusercontent.com/u/13697957?v=3","gravatar_id":"","url":"https://api.github.com/users/321campbell","html_url":"https://github.com/321campbell","followers_url":"https://api.github.com/users/321campbell/followers","following_url":"https://api.github.com/users/321campbell/following{/other_user}","gists_url":"https://api.github.com/users/321campbell/gists{/gist_id}","starred_url":"https://api.github.com/users/321campbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/321campbell/subscriptions","organizations_url":"https://api.github.com/users/321campbell/orgs","repos_url":"https://api.github.com/users/321campbell/repos","events_url":"https://api.github.com/users/321campbell/events{/privacy}","received_events_url":"https://api.github.com/users/321campbell/received_events","type":"User","site_admin":false},"body":"Completeness 5/10\r\n\r\nComfort: 3/10 after I complete the landlord assignment tonight I will have a better grasp.","created_at":"2015-11-09T14:52:35Z","updated_at":"2015-11-09T18:05:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6806eed1d60d7e459fb8c3a7d0d7cb0f6e761ebc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48/commits","review_comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48/comments","review_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/48/comments","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/statuses/8856cfe4ba0c66386ec1c582cfd3085d6c7570ab","head":{"label":"321campbell:master","ref":"master","sha":"8856cfe4ba0c66386ec1c582cfd3085d6c7570ab","user":{"login":"321campbell","id":13697957,"avatar_url":"https://avatars.githubusercontent.com/u/13697957?v=3","gravatar_id":"","url":"https://api.github.com/users/321campbell","html_url":"https://github.com/321campbell","followers_url":"https://api.github.com/users/321campbell/followers","following_url":"https://api.github.com/users/321campbell/following{/other_user}","gists_url":"https://api.github.com/users/321campbell/gists{/gist_id}","starred_url":"https://api.github.com/users/321campbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/321campbell/subscriptions","organizations_url":"https://api.github.com/users/321campbell/orgs","repos_url":"https://api.github.com/users/321campbell/repos","events_url":"https://api.github.com/users/321campbell/events{/privacy}","received_events_url":"https://api.github.com/users/321campbell/received_events","type":"User","site_admin":false},"repo":{"id":45844494,"name":"wdi7-quiz3","full_name":"321campbell/wdi7-quiz3","owner":{"login":"321campbell","id":13697957,"avatar_url":"https://avatars.githubusercontent.com/u/13697957?v=3","gravatar_id":"","url":"https://api.github.com/users/321campbell","html_url":"https://github.com/321campbell","followers_url":"https://api.github.com/users/321campbell/followers","following_url":"https://api.github.com/users/321campbell/following{/other_user}","gists_url":"https://api.github.com/users/321campbell/gists{/gist_id}","starred_url":"https://api.github.com/users/321campbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/321campbell/subscriptions","organizations_url":"https://api.github.com/users/321campbell/orgs","repos_url":"https://api.github.com/users/321campbell/repos","events_url":"https://api.github.com/users/321campbell/events{/privacy}","received_events_url":"https://api.github.com/users/321campbell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/321campbell/wdi7-quiz3","description":"","fork":true,"url":"https://api.github.com/repos/321campbell/wdi7-quiz3","forks_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/forks","keys_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/teams","hooks_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/hooks","issue_events_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/issues/events{/number}","events_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/events","assignees_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/assignees{/user}","branches_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/branches{/branch}","tags_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/tags","blobs_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/git/refs{/sha}","trees_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/statuses/{sha}","languages_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/languages","stargazers_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/stargazers","contributors_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/contributors","subscribers_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/subscribers","subscription_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/subscription","commits_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/commits{/sha}","git_commits_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/git/commits{/sha}","comments_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/comments{/number}","issue_comment_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/issues/comments{/number}","contents_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/contents/{+path}","compare_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/merges","archive_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/downloads","issues_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/issues{/number}","pulls_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/pulls{/number}","milestones_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/milestones{/number}","notifications_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/labels{/name}","releases_url":"https://api.github.com/repos/321campbell/wdi7-quiz3/releases{/id}","created_at":"2015-11-09T14:49:21Z","updated_at":"2015-11-09T12:22:10Z","pushed_at":"2015-11-09T14:51:13Z","git_url":"git://github.com/321campbell/wdi7-quiz3.git","ssh_url":"git@github.com:321campbell/wdi7-quiz3.git","clone_url":"https://github.com/321campbell/wdi7-quiz3.git","svn_url":"https://github.com/321campbell/wdi7-quiz3","homepage":null,"size":1175,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"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-dc:master","ref":"master","sha":"31a926200a62bd1d1e2ba4601ad74bfdf309b209","user":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"repo":{"id":45646787,"name":"wdi7-quiz3","full_name":"ga-dc/wdi7-quiz3","owner":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-dc/wdi7-quiz3","description":"","fork":false,"url":"https://api.github.com/repos/ga-dc/wdi7-quiz3","forks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/forks","keys_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/teams","hooks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/events","assignees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/tags","blobs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/languages","stargazers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/subscription","commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/merges","archive_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/downloads","issues_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/wdi7-quiz3/releases{/id}","created_at":"2015-11-05T23:37:16Z","updated_at":"2015-11-09T12:22:10Z","pushed_at":"2015-11-09T14:53:11Z","git_url":"git://github.com/ga-dc/wdi7-quiz3.git","ssh_url":"git@github.com:ga-dc/wdi7-quiz3.git","clone_url":"https://github.com/ga-dc/wdi7-quiz3.git","svn_url":"https://github.com/ga-dc/wdi7-quiz3","homepage":null,"size":1175,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":45,"forks":56,"open_issues":45,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz3/pull/48"},"issue":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/48"},"comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz3/statuses/8856cfe4ba0c66386ec1c582cfd3085d6c7570ab"}}}}