{"action":"created","comment":{"url":"https://api.github.com/repos/christopeak/homework4/pulls/comments/30563537","id":30563537,"diff_hunk":"@@ -0,0 +1,13 @@\n+class ClassRoom < ActiveRecord::Base\n+    has_many :children\n+    has_many :waiting_list_entries\n+    \n+    def add_child(child)\n+    end\n+    \n+    def remove_child(child)\n+    end\n+    \n+    def pop_from_waiting_list","path":"DayCare/app/models/class_room.rb","position":11,"original_position":11,"commit_id":"3f875831423765c90002f2b9f39e852b7ee15227","original_commit_id":"3f875831423765c90002f2b9f39e852b7ee15227","user":{"login":"mel-quark","id":2301063,"avatar_url":"https://avatars.githubusercontent.com/u/2301063?v=3","gravatar_id":"","url":"https://api.github.com/users/mel-quark","html_url":"https://github.com/mel-quark","followers_url":"https://api.github.com/users/mel-quark/followers","following_url":"https://api.github.com/users/mel-quark/following{/other_user}","gists_url":"https://api.github.com/users/mel-quark/gists{/gist_id}","starred_url":"https://api.github.com/users/mel-quark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mel-quark/subscriptions","organizations_url":"https://api.github.com/users/mel-quark/orgs","repos_url":"https://api.github.com/users/mel-quark/repos","events_url":"https://api.github.com/users/mel-quark/events{/privacy}","received_events_url":"https://api.github.com/users/mel-quark/received_events","type":"User","site_admin":false},"body":"what would this method do? maybe ```next_child``` as the name, instead?","created_at":"2015-05-19T01:52:25Z","updated_at":"2015-05-19T01:52:25Z","html_url":"https://github.com/christopeak/homework4/pull/2#discussion_r30563537","pull_request_url":"https://api.github.com/repos/christopeak/homework4/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/comments/30563537"},"html":{"href":"https://github.com/christopeak/homework4/pull/2#discussion_r30563537"},"pull_request":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/christopeak/homework4/pulls/2","id":35066651,"html_url":"https://github.com/christopeak/homework4/pull/2","diff_url":"https://github.com/christopeak/homework4/pull/2.diff","patch_url":"https://github.com/christopeak/homework4/pull/2.patch","issue_url":"https://api.github.com/repos/christopeak/homework4/issues/2","number":2,"state":"open","locked":false,"title":"added models and spec tests","user":{"login":"christopeak","id":1612881,"avatar_url":"https://avatars.githubusercontent.com/u/1612881?v=3","gravatar_id":"","url":"https://api.github.com/users/christopeak","html_url":"https://github.com/christopeak","followers_url":"https://api.github.com/users/christopeak/followers","following_url":"https://api.github.com/users/christopeak/following{/other_user}","gists_url":"https://api.github.com/users/christopeak/gists{/gist_id}","starred_url":"https://api.github.com/users/christopeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopeak/subscriptions","organizations_url":"https://api.github.com/users/christopeak/orgs","repos_url":"https://api.github.com/users/christopeak/repos","events_url":"https://api.github.com/users/christopeak/events{/privacy}","received_events_url":"https://api.github.com/users/christopeak/received_events","type":"User","site_admin":false},"body":"Stage 2 of the DayCare homework","created_at":"2015-05-09T13:30:11Z","updated_at":"2015-05-19T01:52:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ab7dbd429d1935974adb8b87e727ce4dcf163ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/christopeak/homework4/pulls/2/commits","review_comments_url":"https://api.github.com/repos/christopeak/homework4/pulls/2/comments","review_comment_url":"https://api.github.com/repos/christopeak/homework4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/christopeak/homework4/issues/2/comments","statuses_url":"https://api.github.com/repos/christopeak/homework4/statuses/3f875831423765c90002f2b9f39e852b7ee15227","head":{"label":"christopeak:models","ref":"models","sha":"3f875831423765c90002f2b9f39e852b7ee15227","user":{"login":"christopeak","id":1612881,"avatar_url":"https://avatars.githubusercontent.com/u/1612881?v=3","gravatar_id":"","url":"https://api.github.com/users/christopeak","html_url":"https://github.com/christopeak","followers_url":"https://api.github.com/users/christopeak/followers","following_url":"https://api.github.com/users/christopeak/following{/other_user}","gists_url":"https://api.github.com/users/christopeak/gists{/gist_id}","starred_url":"https://api.github.com/users/christopeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopeak/subscriptions","organizations_url":"https://api.github.com/users/christopeak/orgs","repos_url":"https://api.github.com/users/christopeak/repos","events_url":"https://api.github.com/users/christopeak/events{/privacy}","received_events_url":"https://api.github.com/users/christopeak/received_events","type":"User","site_admin":false},"repo":{"id":34771782,"name":"homework4","full_name":"christopeak/homework4","owner":{"login":"christopeak","id":1612881,"avatar_url":"https://avatars.githubusercontent.com/u/1612881?v=3","gravatar_id":"","url":"https://api.github.com/users/christopeak","html_url":"https://github.com/christopeak","followers_url":"https://api.github.com/users/christopeak/followers","following_url":"https://api.github.com/users/christopeak/following{/other_user}","gists_url":"https://api.github.com/users/christopeak/gists{/gist_id}","starred_url":"https://api.github.com/users/christopeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopeak/subscriptions","organizations_url":"https://api.github.com/users/christopeak/orgs","repos_url":"https://api.github.com/users/christopeak/repos","events_url":"https://api.github.com/users/christopeak/events{/privacy}","received_events_url":"https://api.github.com/users/christopeak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christopeak/homework4","description":"","fork":false,"url":"https://api.github.com/repos/christopeak/homework4","forks_url":"https://api.github.com/repos/christopeak/homework4/forks","keys_url":"https://api.github.com/repos/christopeak/homework4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christopeak/homework4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christopeak/homework4/teams","hooks_url":"https://api.github.com/repos/christopeak/homework4/hooks","issue_events_url":"https://api.github.com/repos/christopeak/homework4/issues/events{/number}","events_url":"https://api.github.com/repos/christopeak/homework4/events","assignees_url":"https://api.github.com/repos/christopeak/homework4/assignees{/user}","branches_url":"https://api.github.com/repos/christopeak/homework4/branches{/branch}","tags_url":"https://api.github.com/repos/christopeak/homework4/tags","blobs_url":"https://api.github.com/repos/christopeak/homework4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christopeak/homework4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christopeak/homework4/git/refs{/sha}","trees_url":"https://api.github.com/repos/christopeak/homework4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christopeak/homework4/statuses/{sha}","languages_url":"https://api.github.com/repos/christopeak/homework4/languages","stargazers_url":"https://api.github.com/repos/christopeak/homework4/stargazers","contributors_url":"https://api.github.com/repos/christopeak/homework4/contributors","subscribers_url":"https://api.github.com/repos/christopeak/homework4/subscribers","subscription_url":"https://api.github.com/repos/christopeak/homework4/subscription","commits_url":"https://api.github.com/repos/christopeak/homework4/commits{/sha}","git_commits_url":"https://api.github.com/repos/christopeak/homework4/git/commits{/sha}","comments_url":"https://api.github.com/repos/christopeak/homework4/comments{/number}","issue_comment_url":"https://api.github.com/repos/christopeak/homework4/issues/comments{/number}","contents_url":"https://api.github.com/repos/christopeak/homework4/contents/{+path}","compare_url":"https://api.github.com/repos/christopeak/homework4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christopeak/homework4/merges","archive_url":"https://api.github.com/repos/christopeak/homework4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christopeak/homework4/downloads","issues_url":"https://api.github.com/repos/christopeak/homework4/issues{/number}","pulls_url":"https://api.github.com/repos/christopeak/homework4/pulls{/number}","milestones_url":"https://api.github.com/repos/christopeak/homework4/milestones{/number}","notifications_url":"https://api.github.com/repos/christopeak/homework4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christopeak/homework4/labels{/name}","releases_url":"https://api.github.com/repos/christopeak/homework4/releases{/id}","created_at":"2015-04-29T04:09:38Z","updated_at":"2015-04-29T04:09:38Z","pushed_at":"2015-05-14T13:32:32Z","git_url":"git://github.com/christopeak/homework4.git","ssh_url":"git@github.com:christopeak/homework4.git","clone_url":"https://github.com/christopeak/homework4.git","svn_url":"https://github.com/christopeak/homework4","homepage":null,"size":396,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"design"}},"base":{"label":"christopeak:design","ref":"design","sha":"3eba93d897227133e0c3641cc6648face90590db","user":{"login":"christopeak","id":1612881,"avatar_url":"https://avatars.githubusercontent.com/u/1612881?v=3","gravatar_id":"","url":"https://api.github.com/users/christopeak","html_url":"https://github.com/christopeak","followers_url":"https://api.github.com/users/christopeak/followers","following_url":"https://api.github.com/users/christopeak/following{/other_user}","gists_url":"https://api.github.com/users/christopeak/gists{/gist_id}","starred_url":"https://api.github.com/users/christopeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopeak/subscriptions","organizations_url":"https://api.github.com/users/christopeak/orgs","repos_url":"https://api.github.com/users/christopeak/repos","events_url":"https://api.github.com/users/christopeak/events{/privacy}","received_events_url":"https://api.github.com/users/christopeak/received_events","type":"User","site_admin":false},"repo":{"id":34771782,"name":"homework4","full_name":"christopeak/homework4","owner":{"login":"christopeak","id":1612881,"avatar_url":"https://avatars.githubusercontent.com/u/1612881?v=3","gravatar_id":"","url":"https://api.github.com/users/christopeak","html_url":"https://github.com/christopeak","followers_url":"https://api.github.com/users/christopeak/followers","following_url":"https://api.github.com/users/christopeak/following{/other_user}","gists_url":"https://api.github.com/users/christopeak/gists{/gist_id}","starred_url":"https://api.github.com/users/christopeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopeak/subscriptions","organizations_url":"https://api.github.com/users/christopeak/orgs","repos_url":"https://api.github.com/users/christopeak/repos","events_url":"https://api.github.com/users/christopeak/events{/privacy}","received_events_url":"https://api.github.com/users/christopeak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christopeak/homework4","description":"","fork":false,"url":"https://api.github.com/repos/christopeak/homework4","forks_url":"https://api.github.com/repos/christopeak/homework4/forks","keys_url":"https://api.github.com/repos/christopeak/homework4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christopeak/homework4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christopeak/homework4/teams","hooks_url":"https://api.github.com/repos/christopeak/homework4/hooks","issue_events_url":"https://api.github.com/repos/christopeak/homework4/issues/events{/number}","events_url":"https://api.github.com/repos/christopeak/homework4/events","assignees_url":"https://api.github.com/repos/christopeak/homework4/assignees{/user}","branches_url":"https://api.github.com/repos/christopeak/homework4/branches{/branch}","tags_url":"https://api.github.com/repos/christopeak/homework4/tags","blobs_url":"https://api.github.com/repos/christopeak/homework4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christopeak/homework4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christopeak/homework4/git/refs{/sha}","trees_url":"https://api.github.com/repos/christopeak/homework4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christopeak/homework4/statuses/{sha}","languages_url":"https://api.github.com/repos/christopeak/homework4/languages","stargazers_url":"https://api.github.com/repos/christopeak/homework4/stargazers","contributors_url":"https://api.github.com/repos/christopeak/homework4/contributors","subscribers_url":"https://api.github.com/repos/christopeak/homework4/subscribers","subscription_url":"https://api.github.com/repos/christopeak/homework4/subscription","commits_url":"https://api.github.com/repos/christopeak/homework4/commits{/sha}","git_commits_url":"https://api.github.com/repos/christopeak/homework4/git/commits{/sha}","comments_url":"https://api.github.com/repos/christopeak/homework4/comments{/number}","issue_comment_url":"https://api.github.com/repos/christopeak/homework4/issues/comments{/number}","contents_url":"https://api.github.com/repos/christopeak/homework4/contents/{+path}","compare_url":"https://api.github.com/repos/christopeak/homework4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christopeak/homework4/merges","archive_url":"https://api.github.com/repos/christopeak/homework4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christopeak/homework4/downloads","issues_url":"https://api.github.com/repos/christopeak/homework4/issues{/number}","pulls_url":"https://api.github.com/repos/christopeak/homework4/pulls{/number}","milestones_url":"https://api.github.com/repos/christopeak/homework4/milestones{/number}","notifications_url":"https://api.github.com/repos/christopeak/homework4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christopeak/homework4/labels{/name}","releases_url":"https://api.github.com/repos/christopeak/homework4/releases{/id}","created_at":"2015-04-29T04:09:38Z","updated_at":"2015-04-29T04:09:38Z","pushed_at":"2015-05-14T13:32:32Z","git_url":"git://github.com/christopeak/homework4.git","ssh_url":"git@github.com:christopeak/homework4.git","clone_url":"https://github.com/christopeak/homework4.git","svn_url":"https://github.com/christopeak/homework4","homepage":null,"size":396,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"design"}},"_links":{"self":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/2"},"html":{"href":"https://github.com/christopeak/homework4/pull/2"},"issue":{"href":"https://api.github.com/repos/christopeak/homework4/issues/2"},"comments":{"href":"https://api.github.com/repos/christopeak/homework4/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/christopeak/homework4/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/christopeak/homework4/statuses/3f875831423765c90002f2b9f39e852b7ee15227"}}}}