{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12","id":63158018,"html_url":"https://github.com/ga-wdi-exercises/hogwarts_rails/pull/12","diff_url":"https://github.com/ga-wdi-exercises/hogwarts_rails/pull/12.diff","patch_url":"https://github.com/ga-wdi-exercises/hogwarts_rails/pull/12.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/12","number":12,"state":"open","locked":false,"title":"Jeffrey Eaton solution","user":{"login":"jeffreyeaton76","id":15959851,"avatar_url":"https://avatars.githubusercontent.com/u/15959851?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyeaton76","html_url":"https://github.com/jeffreyeaton76","followers_url":"https://api.github.com/users/jeffreyeaton76/followers","following_url":"https://api.github.com/users/jeffreyeaton76/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyeaton76/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyeaton76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyeaton76/subscriptions","organizations_url":"https://api.github.com/users/jeffreyeaton76/orgs","repos_url":"https://api.github.com/users/jeffreyeaton76/repos","events_url":"https://api.github.com/users/jeffreyeaton76/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyeaton76/received_events","type":"User","site_admin":false},"body":"Completeness: 4-5? - Contains the bonus but I didn't solve it on my own.\r\nComfort level: 4\r\n\r\nI got through the basic assignment in about 2-ish hours and then spent the next 6 trying to get the 'enroll students' bonus. I finally remembered there's a solution branch and I followed the steps to see how it worked. I never would have figured out to put a method definition in the model on my own. ","created_at":"2016-03-17T00:38:42Z","updated_at":"2016-03-17T00:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"054bb8bd0b0a2241efa27699bd618668e11c8bd8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/12/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/statuses/f20bafe08a3c6e8955982b75643154e26bdbb523","head":{"label":"jeffreyeaton76:master","ref":"master","sha":"f20bafe08a3c6e8955982b75643154e26bdbb523","user":{"login":"jeffreyeaton76","id":15959851,"avatar_url":"https://avatars.githubusercontent.com/u/15959851?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyeaton76","html_url":"https://github.com/jeffreyeaton76","followers_url":"https://api.github.com/users/jeffreyeaton76/followers","following_url":"https://api.github.com/users/jeffreyeaton76/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyeaton76/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyeaton76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyeaton76/subscriptions","organizations_url":"https://api.github.com/users/jeffreyeaton76/orgs","repos_url":"https://api.github.com/users/jeffreyeaton76/repos","events_url":"https://api.github.com/users/jeffreyeaton76/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyeaton76/received_events","type":"User","site_admin":false},"repo":{"id":54028636,"name":"hogwarts_rails","full_name":"jeffreyeaton76/hogwarts_rails","owner":{"login":"jeffreyeaton76","id":15959851,"avatar_url":"https://avatars.githubusercontent.com/u/15959851?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyeaton76","html_url":"https://github.com/jeffreyeaton76","followers_url":"https://api.github.com/users/jeffreyeaton76/followers","following_url":"https://api.github.com/users/jeffreyeaton76/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyeaton76/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyeaton76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyeaton76/subscriptions","organizations_url":"https://api.github.com/users/jeffreyeaton76/orgs","repos_url":"https://api.github.com/users/jeffreyeaton76/repos","events_url":"https://api.github.com/users/jeffreyeaton76/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyeaton76/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffreyeaton76/hogwarts_rails","description":"[rails]","fork":true,"url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails","forks_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/forks","keys_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/teams","hooks_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/hooks","issue_events_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/issues/events{/number}","events_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/events","assignees_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/assignees{/user}","branches_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/branches{/branch}","tags_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/tags","blobs_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/languages","stargazers_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/stargazers","contributors_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/contributors","subscribers_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/subscribers","subscription_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/subscription","commits_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/contents/{+path}","compare_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/merges","archive_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/downloads","issues_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/issues{/number}","pulls_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/labels{/name}","releases_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/releases{/id}","deployments_url":"https://api.github.com/repos/jeffreyeaton76/hogwarts_rails/deployments","created_at":"2016-03-16T12:08:40Z","updated_at":"2016-03-16T12:08:41Z","pushed_at":"2016-03-17T00:30:08Z","git_url":"git://github.com/jeffreyeaton76/hogwarts_rails.git","ssh_url":"git@github.com:jeffreyeaton76/hogwarts_rails.git","clone_url":"https://github.com/jeffreyeaton76/hogwarts_rails.git","svn_url":"https://github.com/jeffreyeaton76/hogwarts_rails","homepage":"https://wdi-hogwarts.herokuapp.com/","size":28,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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-wdi-exercises:master","ref":"master","sha":"2cec09074280104e771ff9de28797ab317e33e8d","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":47145720,"name":"hogwarts_rails","full_name":"ga-wdi-exercises/hogwarts_rails","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/hogwarts_rails","description":"[rails]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails","forks_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/deployments","created_at":"2015-11-30T20:59:33Z","updated_at":"2016-03-16T01:17:57Z","pushed_at":"2016-03-17T00:38:42Z","git_url":"git://github.com/ga-wdi-exercises/hogwarts_rails.git","ssh_url":"git@github.com:ga-wdi-exercises/hogwarts_rails.git","clone_url":"https://github.com/ga-wdi-exercises/hogwarts_rails.git","svn_url":"https://github.com/ga-wdi-exercises/hogwarts_rails","homepage":"https://wdi-hogwarts.herokuapp.com/","size":25,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":12,"forks":33,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12"},"html":{"href":"https://github.com/ga-wdi-exercises/hogwarts_rails/pull/12"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/12"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/hogwarts_rails/statuses/f20bafe08a3c6e8955982b75643154e26bdbb523"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":106,"deletions":42,"changed_files":17}}