{"action":"created","comment":{"url":"https://api.github.com/repos/evanlouden/exReg/pulls/comments/75571281","id":75571281,"diff_hunk":"@@ -102,17 +102,13 @@ def update_teacher(params)\n \n   def print_errors\n     errors = \"\"\n-    errors += self.errors.full_messages.join(\", \")\n-    if teacher || contact\n-      errors += teacher.errors.full_messages.join(\", \")\n+    if teacher\n       errors += contact.errors.full_messages.join(\", \")\n-      availabilities.each do |a|\n-        unless a.errors.full_messages.empty?\n-          errors += a.errors.full_messages.join(\",\")\n-        end\n-      end\n+      errors += \", \"\n+      errors += teacher.errors.full_messages.join(\", \")","path":"app/forms/teacher_form.rb","position":15,"original_position":15,"commit_id":"cb8c685fa045fe9c56fe90f226d6541dd9411e67","original_commit_id":"cb8c685fa045fe9c56fe90f226d6541dd9411e67","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Useless assignment to variable - `errors`.","created_at":"2016-08-20T02:32:21Z","updated_at":"2016-08-20T02:32:21Z","html_url":"https://github.com/evanlouden/exReg/pull/86#discussion_r75571281","pull_request_url":"https://api.github.com/repos/evanlouden/exReg/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/comments/75571281"},"html":{"href":"https://github.com/evanlouden/exReg/pull/86#discussion_r75571281"},"pull_request":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/evanlouden/exReg/pulls/86","id":82066372,"html_url":"https://github.com/evanlouden/exReg/pull/86","diff_url":"https://github.com/evanlouden/exReg/pull/86.diff","patch_url":"https://github.com/evanlouden/exReg/pull/86.patch","issue_url":"https://api.github.com/repos/evanlouden/exReg/issues/86","number":86,"state":"open","locked":false,"title":"fixed form object errors, updated model validations","user":{"login":"okanthony","id":13224750,"avatar_url":"https://avatars.githubusercontent.com/u/13224750?v=3","gravatar_id":"","url":"https://api.github.com/users/okanthony","html_url":"https://github.com/okanthony","followers_url":"https://api.github.com/users/okanthony/followers","following_url":"https://api.github.com/users/okanthony/following{/other_user}","gists_url":"https://api.github.com/users/okanthony/gists{/gist_id}","starred_url":"https://api.github.com/users/okanthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okanthony/subscriptions","organizations_url":"https://api.github.com/users/okanthony/orgs","repos_url":"https://api.github.com/users/okanthony/repos","events_url":"https://api.github.com/users/okanthony/events{/privacy}","received_events_url":"https://api.github.com/users/okanthony/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-20T02:32:15Z","updated_at":"2016-08-20T02:32:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71f2b7b863f113c158234d4922ef6782257c424c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/evanlouden/exReg/pulls/86/commits","review_comments_url":"https://api.github.com/repos/evanlouden/exReg/pulls/86/comments","review_comment_url":"https://api.github.com/repos/evanlouden/exReg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evanlouden/exReg/issues/86/comments","statuses_url":"https://api.github.com/repos/evanlouden/exReg/statuses/cb8c685fa045fe9c56fe90f226d6541dd9411e67","head":{"label":"evanlouden:form-objects","ref":"form-objects","sha":"cb8c685fa045fe9c56fe90f226d6541dd9411e67","user":{"login":"evanlouden","id":17486293,"avatar_url":"https://avatars.githubusercontent.com/u/17486293?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlouden","html_url":"https://github.com/evanlouden","followers_url":"https://api.github.com/users/evanlouden/followers","following_url":"https://api.github.com/users/evanlouden/following{/other_user}","gists_url":"https://api.github.com/users/evanlouden/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlouden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlouden/subscriptions","organizations_url":"https://api.github.com/users/evanlouden/orgs","repos_url":"https://api.github.com/users/evanlouden/repos","events_url":"https://api.github.com/users/evanlouden/events{/privacy}","received_events_url":"https://api.github.com/users/evanlouden/received_events","type":"User","site_admin":false},"repo":{"id":60112277,"name":"exReg","full_name":"evanlouden/exReg","owner":{"login":"evanlouden","id":17486293,"avatar_url":"https://avatars.githubusercontent.com/u/17486293?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlouden","html_url":"https://github.com/evanlouden","followers_url":"https://api.github.com/users/evanlouden/followers","following_url":"https://api.github.com/users/evanlouden/following{/other_user}","gists_url":"https://api.github.com/users/evanlouden/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlouden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlouden/subscriptions","organizations_url":"https://api.github.com/users/evanlouden/orgs","repos_url":"https://api.github.com/users/evanlouden/repos","events_url":"https://api.github.com/users/evanlouden/events{/privacy}","received_events_url":"https://api.github.com/users/evanlouden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evanlouden/exReg","description":"Scheduling App","fork":false,"url":"https://api.github.com/repos/evanlouden/exReg","forks_url":"https://api.github.com/repos/evanlouden/exReg/forks","keys_url":"https://api.github.com/repos/evanlouden/exReg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evanlouden/exReg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evanlouden/exReg/teams","hooks_url":"https://api.github.com/repos/evanlouden/exReg/hooks","issue_events_url":"https://api.github.com/repos/evanlouden/exReg/issues/events{/number}","events_url":"https://api.github.com/repos/evanlouden/exReg/events","assignees_url":"https://api.github.com/repos/evanlouden/exReg/assignees{/user}","branches_url":"https://api.github.com/repos/evanlouden/exReg/branches{/branch}","tags_url":"https://api.github.com/repos/evanlouden/exReg/tags","blobs_url":"https://api.github.com/repos/evanlouden/exReg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evanlouden/exReg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evanlouden/exReg/git/refs{/sha}","trees_url":"https://api.github.com/repos/evanlouden/exReg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evanlouden/exReg/statuses/{sha}","languages_url":"https://api.github.com/repos/evanlouden/exReg/languages","stargazers_url":"https://api.github.com/repos/evanlouden/exReg/stargazers","contributors_url":"https://api.github.com/repos/evanlouden/exReg/contributors","subscribers_url":"https://api.github.com/repos/evanlouden/exReg/subscribers","subscription_url":"https://api.github.com/repos/evanlouden/exReg/subscription","commits_url":"https://api.github.com/repos/evanlouden/exReg/commits{/sha}","git_commits_url":"https://api.github.com/repos/evanlouden/exReg/git/commits{/sha}","comments_url":"https://api.github.com/repos/evanlouden/exReg/comments{/number}","issue_comment_url":"https://api.github.com/repos/evanlouden/exReg/issues/comments{/number}","contents_url":"https://api.github.com/repos/evanlouden/exReg/contents/{+path}","compare_url":"https://api.github.com/repos/evanlouden/exReg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evanlouden/exReg/merges","archive_url":"https://api.github.com/repos/evanlouden/exReg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evanlouden/exReg/downloads","issues_url":"https://api.github.com/repos/evanlouden/exReg/issues{/number}","pulls_url":"https://api.github.com/repos/evanlouden/exReg/pulls{/number}","milestones_url":"https://api.github.com/repos/evanlouden/exReg/milestones{/number}","notifications_url":"https://api.github.com/repos/evanlouden/exReg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evanlouden/exReg/labels{/name}","releases_url":"https://api.github.com/repos/evanlouden/exReg/releases{/id}","deployments_url":"https://api.github.com/repos/evanlouden/exReg/deployments","created_at":"2016-05-31T18:09:31Z","updated_at":"2016-05-31T18:10:47Z","pushed_at":"2016-08-20T02:32:16Z","git_url":"git://github.com/evanlouden/exReg.git","ssh_url":"git@github.com:evanlouden/exReg.git","clone_url":"https://github.com/evanlouden/exReg.git","svn_url":"https://github.com/evanlouden/exReg","homepage":null,"size":370,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"evanlouden:master","ref":"master","sha":"8390dc788b7cb617fef1f08ae77c4acf0467235a","user":{"login":"evanlouden","id":17486293,"avatar_url":"https://avatars.githubusercontent.com/u/17486293?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlouden","html_url":"https://github.com/evanlouden","followers_url":"https://api.github.com/users/evanlouden/followers","following_url":"https://api.github.com/users/evanlouden/following{/other_user}","gists_url":"https://api.github.com/users/evanlouden/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlouden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlouden/subscriptions","organizations_url":"https://api.github.com/users/evanlouden/orgs","repos_url":"https://api.github.com/users/evanlouden/repos","events_url":"https://api.github.com/users/evanlouden/events{/privacy}","received_events_url":"https://api.github.com/users/evanlouden/received_events","type":"User","site_admin":false},"repo":{"id":60112277,"name":"exReg","full_name":"evanlouden/exReg","owner":{"login":"evanlouden","id":17486293,"avatar_url":"https://avatars.githubusercontent.com/u/17486293?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlouden","html_url":"https://github.com/evanlouden","followers_url":"https://api.github.com/users/evanlouden/followers","following_url":"https://api.github.com/users/evanlouden/following{/other_user}","gists_url":"https://api.github.com/users/evanlouden/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlouden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlouden/subscriptions","organizations_url":"https://api.github.com/users/evanlouden/orgs","repos_url":"https://api.github.com/users/evanlouden/repos","events_url":"https://api.github.com/users/evanlouden/events{/privacy}","received_events_url":"https://api.github.com/users/evanlouden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evanlouden/exReg","description":"Scheduling App","fork":false,"url":"https://api.github.com/repos/evanlouden/exReg","forks_url":"https://api.github.com/repos/evanlouden/exReg/forks","keys_url":"https://api.github.com/repos/evanlouden/exReg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evanlouden/exReg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evanlouden/exReg/teams","hooks_url":"https://api.github.com/repos/evanlouden/exReg/hooks","issue_events_url":"https://api.github.com/repos/evanlouden/exReg/issues/events{/number}","events_url":"https://api.github.com/repos/evanlouden/exReg/events","assignees_url":"https://api.github.com/repos/evanlouden/exReg/assignees{/user}","branches_url":"https://api.github.com/repos/evanlouden/exReg/branches{/branch}","tags_url":"https://api.github.com/repos/evanlouden/exReg/tags","blobs_url":"https://api.github.com/repos/evanlouden/exReg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evanlouden/exReg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evanlouden/exReg/git/refs{/sha}","trees_url":"https://api.github.com/repos/evanlouden/exReg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evanlouden/exReg/statuses/{sha}","languages_url":"https://api.github.com/repos/evanlouden/exReg/languages","stargazers_url":"https://api.github.com/repos/evanlouden/exReg/stargazers","contributors_url":"https://api.github.com/repos/evanlouden/exReg/contributors","subscribers_url":"https://api.github.com/repos/evanlouden/exReg/subscribers","subscription_url":"https://api.github.com/repos/evanlouden/exReg/subscription","commits_url":"https://api.github.com/repos/evanlouden/exReg/commits{/sha}","git_commits_url":"https://api.github.com/repos/evanlouden/exReg/git/commits{/sha}","comments_url":"https://api.github.com/repos/evanlouden/exReg/comments{/number}","issue_comment_url":"https://api.github.com/repos/evanlouden/exReg/issues/comments{/number}","contents_url":"https://api.github.com/repos/evanlouden/exReg/contents/{+path}","compare_url":"https://api.github.com/repos/evanlouden/exReg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evanlouden/exReg/merges","archive_url":"https://api.github.com/repos/evanlouden/exReg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evanlouden/exReg/downloads","issues_url":"https://api.github.com/repos/evanlouden/exReg/issues{/number}","pulls_url":"https://api.github.com/repos/evanlouden/exReg/pulls{/number}","milestones_url":"https://api.github.com/repos/evanlouden/exReg/milestones{/number}","notifications_url":"https://api.github.com/repos/evanlouden/exReg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evanlouden/exReg/labels{/name}","releases_url":"https://api.github.com/repos/evanlouden/exReg/releases{/id}","deployments_url":"https://api.github.com/repos/evanlouden/exReg/deployments","created_at":"2016-05-31T18:09:31Z","updated_at":"2016-05-31T18:10:47Z","pushed_at":"2016-08-20T02:32:16Z","git_url":"git://github.com/evanlouden/exReg.git","ssh_url":"git@github.com:evanlouden/exReg.git","clone_url":"https://github.com/evanlouden/exReg.git","svn_url":"https://github.com/evanlouden/exReg","homepage":null,"size":370,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/86"},"html":{"href":"https://github.com/evanlouden/exReg/pull/86"},"issue":{"href":"https://api.github.com/repos/evanlouden/exReg/issues/86"},"comments":{"href":"https://api.github.com/repos/evanlouden/exReg/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evanlouden/exReg/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/evanlouden/exReg/statuses/cb8c685fa045fe9c56fe90f226d6541dd9411e67"}}}}
{"actor":{"display_login":"houndci-bot"}}