{"action":"created","comment":{"url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/comments/29519817","id":29519817,"diff_hunk":"@@ -8,11 +21,13 @@\n     <%= f.number_field :hire_count, in: 0..500, step: 1, value: @company.hire_count %><br>\n     <%= f.label(:hire_count, \"Number of people hiring\") %>\n   </div>\n-  <div class=\"form-group\">\n-    <%= f.hidden_field :status %>\n-  </div>\n-    <%= f.submit \"Submit\" %>\n+  <%= f.hidden_field :status %>\n+  <%= f.hidden_field :name %>\n+  <%= f.hidden_field :title %>\n+  <%= f.hidden_field :email %>","path":"app/views/admin/companies/edit.html.erb","position":32,"original_position":32,"commit_id":"2b966c62726164e2064d649cb7ac11c296b0d939","original_commit_id":"37470199558a0aeb121f86dbbd0c1175f8f37639","user":{"login":"cluhring","id":8466906,"avatar_url":"https://avatars.githubusercontent.com/u/8466906?v=3","gravatar_id":"","url":"https://api.github.com/users/cluhring","html_url":"https://github.com/cluhring","followers_url":"https://api.github.com/users/cluhring/followers","following_url":"https://api.github.com/users/cluhring/following{/other_user}","gists_url":"https://api.github.com/users/cluhring/gists{/gist_id}","starred_url":"https://api.github.com/users/cluhring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluhring/subscriptions","organizations_url":"https://api.github.com/users/cluhring/orgs","repos_url":"https://api.github.com/users/cluhring/repos","events_url":"https://api.github.com/users/cluhring/events{/privacy}","received_events_url":"https://api.github.com/users/cluhring/received_events","type":"User","site_admin":false},"body":"shouldn't an admin be able to update the name, email and title of the company's primary user?","created_at":"2015-05-01T17:58:56Z","updated_at":"2015-05-01T17:58:56Z","html_url":"https://github.com/oorion/opportunity_at_work/pull/41#discussion_r29519817","pull_request_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/comments/29519817"},"html":{"href":"https://github.com/oorion/opportunity_at_work/pull/41#discussion_r29519817"},"pull_request":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41","id":34506193,"html_url":"https://github.com/oorion/opportunity_at_work/pull/41","diff_url":"https://github.com/oorion/opportunity_at_work/pull/41.diff","patch_url":"https://github.com/oorion/opportunity_at_work/pull/41.patch","issue_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/41","number":41,"state":"open","locked":false,"title":"Add welcome page","user":{"login":"oorion","id":869456,"avatar_url":"https://avatars.githubusercontent.com/u/869456?v=3","gravatar_id":"","url":"https://api.github.com/users/oorion","html_url":"https://github.com/oorion","followers_url":"https://api.github.com/users/oorion/followers","following_url":"https://api.github.com/users/oorion/following{/other_user}","gists_url":"https://api.github.com/users/oorion/gists{/gist_id}","starred_url":"https://api.github.com/users/oorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorion/subscriptions","organizations_url":"https://api.github.com/users/oorion/orgs","repos_url":"https://api.github.com/users/oorion/repos","events_url":"https://api.github.com/users/oorion/events{/privacy}","received_events_url":"https://api.github.com/users/oorion/received_events","type":"User","site_admin":false},"body":"- Create company welcome path and associated view that user sees upon signup\r\n- Update admin companies show page to show all users of a company.\r\n- Update companies show page to show the user information through the company relationship\r\n- Update factories so that users are created when you create a company\r\n- Update admin companies controller to account for updates on the admin companies show page and the admin companies edit page\r\n- Update company relationships such that when a company is destroyed, the users and notes associated with it are also destroyed.\r\n- Update associated tests.","created_at":"2015-04-30T22:10:38Z","updated_at":"2015-05-01T17:58:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3afa1f3b5cf31174b5b64ff8addb72e21232fab0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41/commits","review_comments_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41/comments","review_comment_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/41/comments","statuses_url":"https://api.github.com/repos/oorion/opportunity_at_work/statuses/2b966c62726164e2064d649cb7ac11c296b0d939","head":{"label":"oorion:add_welcome_page","ref":"add_welcome_page","sha":"2b966c62726164e2064d649cb7ac11c296b0d939","user":{"login":"oorion","id":869456,"avatar_url":"https://avatars.githubusercontent.com/u/869456?v=3","gravatar_id":"","url":"https://api.github.com/users/oorion","html_url":"https://github.com/oorion","followers_url":"https://api.github.com/users/oorion/followers","following_url":"https://api.github.com/users/oorion/following{/other_user}","gists_url":"https://api.github.com/users/oorion/gists{/gist_id}","starred_url":"https://api.github.com/users/oorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorion/subscriptions","organizations_url":"https://api.github.com/users/oorion/orgs","repos_url":"https://api.github.com/users/oorion/repos","events_url":"https://api.github.com/users/oorion/events{/privacy}","received_events_url":"https://api.github.com/users/oorion/received_events","type":"User","site_admin":false},"repo":{"id":34225645,"name":"opportunity_at_work","full_name":"oorion/opportunity_at_work","owner":{"login":"oorion","id":869456,"avatar_url":"https://avatars.githubusercontent.com/u/869456?v=3","gravatar_id":"","url":"https://api.github.com/users/oorion","html_url":"https://github.com/oorion","followers_url":"https://api.github.com/users/oorion/followers","following_url":"https://api.github.com/users/oorion/following{/other_user}","gists_url":"https://api.github.com/users/oorion/gists{/gist_id}","starred_url":"https://api.github.com/users/oorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorion/subscriptions","organizations_url":"https://api.github.com/users/oorion/orgs","repos_url":"https://api.github.com/users/oorion/repos","events_url":"https://api.github.com/users/oorion/events{/privacy}","received_events_url":"https://api.github.com/users/oorion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oorion/opportunity_at_work","description":"","fork":false,"url":"https://api.github.com/repos/oorion/opportunity_at_work","forks_url":"https://api.github.com/repos/oorion/opportunity_at_work/forks","keys_url":"https://api.github.com/repos/oorion/opportunity_at_work/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oorion/opportunity_at_work/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oorion/opportunity_at_work/teams","hooks_url":"https://api.github.com/repos/oorion/opportunity_at_work/hooks","issue_events_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/events{/number}","events_url":"https://api.github.com/repos/oorion/opportunity_at_work/events","assignees_url":"https://api.github.com/repos/oorion/opportunity_at_work/assignees{/user}","branches_url":"https://api.github.com/repos/oorion/opportunity_at_work/branches{/branch}","tags_url":"https://api.github.com/repos/oorion/opportunity_at_work/tags","blobs_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/refs{/sha}","trees_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oorion/opportunity_at_work/statuses/{sha}","languages_url":"https://api.github.com/repos/oorion/opportunity_at_work/languages","stargazers_url":"https://api.github.com/repos/oorion/opportunity_at_work/stargazers","contributors_url":"https://api.github.com/repos/oorion/opportunity_at_work/contributors","subscribers_url":"https://api.github.com/repos/oorion/opportunity_at_work/subscribers","subscription_url":"https://api.github.com/repos/oorion/opportunity_at_work/subscription","commits_url":"https://api.github.com/repos/oorion/opportunity_at_work/commits{/sha}","git_commits_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/commits{/sha}","comments_url":"https://api.github.com/repos/oorion/opportunity_at_work/comments{/number}","issue_comment_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/comments{/number}","contents_url":"https://api.github.com/repos/oorion/opportunity_at_work/contents/{+path}","compare_url":"https://api.github.com/repos/oorion/opportunity_at_work/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oorion/opportunity_at_work/merges","archive_url":"https://api.github.com/repos/oorion/opportunity_at_work/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oorion/opportunity_at_work/downloads","issues_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues{/number}","pulls_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls{/number}","milestones_url":"https://api.github.com/repos/oorion/opportunity_at_work/milestones{/number}","notifications_url":"https://api.github.com/repos/oorion/opportunity_at_work/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oorion/opportunity_at_work/labels{/name}","releases_url":"https://api.github.com/repos/oorion/opportunity_at_work/releases{/id}","created_at":"2015-04-19T21:43:18Z","updated_at":"2015-05-01T17:35:35Z","pushed_at":"2015-05-01T17:51:27Z","git_url":"git://github.com/oorion/opportunity_at_work.git","ssh_url":"git@github.com:oorion/opportunity_at_work.git","clone_url":"https://github.com/oorion/opportunity_at_work.git","svn_url":"https://github.com/oorion/opportunity_at_work","homepage":null,"size":12473,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"oorion:master","ref":"master","sha":"35a22bd6ef2e3f6367dbb003381b3ed322ba29df","user":{"login":"oorion","id":869456,"avatar_url":"https://avatars.githubusercontent.com/u/869456?v=3","gravatar_id":"","url":"https://api.github.com/users/oorion","html_url":"https://github.com/oorion","followers_url":"https://api.github.com/users/oorion/followers","following_url":"https://api.github.com/users/oorion/following{/other_user}","gists_url":"https://api.github.com/users/oorion/gists{/gist_id}","starred_url":"https://api.github.com/users/oorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorion/subscriptions","organizations_url":"https://api.github.com/users/oorion/orgs","repos_url":"https://api.github.com/users/oorion/repos","events_url":"https://api.github.com/users/oorion/events{/privacy}","received_events_url":"https://api.github.com/users/oorion/received_events","type":"User","site_admin":false},"repo":{"id":34225645,"name":"opportunity_at_work","full_name":"oorion/opportunity_at_work","owner":{"login":"oorion","id":869456,"avatar_url":"https://avatars.githubusercontent.com/u/869456?v=3","gravatar_id":"","url":"https://api.github.com/users/oorion","html_url":"https://github.com/oorion","followers_url":"https://api.github.com/users/oorion/followers","following_url":"https://api.github.com/users/oorion/following{/other_user}","gists_url":"https://api.github.com/users/oorion/gists{/gist_id}","starred_url":"https://api.github.com/users/oorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oorion/subscriptions","organizations_url":"https://api.github.com/users/oorion/orgs","repos_url":"https://api.github.com/users/oorion/repos","events_url":"https://api.github.com/users/oorion/events{/privacy}","received_events_url":"https://api.github.com/users/oorion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oorion/opportunity_at_work","description":"","fork":false,"url":"https://api.github.com/repos/oorion/opportunity_at_work","forks_url":"https://api.github.com/repos/oorion/opportunity_at_work/forks","keys_url":"https://api.github.com/repos/oorion/opportunity_at_work/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oorion/opportunity_at_work/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oorion/opportunity_at_work/teams","hooks_url":"https://api.github.com/repos/oorion/opportunity_at_work/hooks","issue_events_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/events{/number}","events_url":"https://api.github.com/repos/oorion/opportunity_at_work/events","assignees_url":"https://api.github.com/repos/oorion/opportunity_at_work/assignees{/user}","branches_url":"https://api.github.com/repos/oorion/opportunity_at_work/branches{/branch}","tags_url":"https://api.github.com/repos/oorion/opportunity_at_work/tags","blobs_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/refs{/sha}","trees_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oorion/opportunity_at_work/statuses/{sha}","languages_url":"https://api.github.com/repos/oorion/opportunity_at_work/languages","stargazers_url":"https://api.github.com/repos/oorion/opportunity_at_work/stargazers","contributors_url":"https://api.github.com/repos/oorion/opportunity_at_work/contributors","subscribers_url":"https://api.github.com/repos/oorion/opportunity_at_work/subscribers","subscription_url":"https://api.github.com/repos/oorion/opportunity_at_work/subscription","commits_url":"https://api.github.com/repos/oorion/opportunity_at_work/commits{/sha}","git_commits_url":"https://api.github.com/repos/oorion/opportunity_at_work/git/commits{/sha}","comments_url":"https://api.github.com/repos/oorion/opportunity_at_work/comments{/number}","issue_comment_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues/comments{/number}","contents_url":"https://api.github.com/repos/oorion/opportunity_at_work/contents/{+path}","compare_url":"https://api.github.com/repos/oorion/opportunity_at_work/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oorion/opportunity_at_work/merges","archive_url":"https://api.github.com/repos/oorion/opportunity_at_work/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oorion/opportunity_at_work/downloads","issues_url":"https://api.github.com/repos/oorion/opportunity_at_work/issues{/number}","pulls_url":"https://api.github.com/repos/oorion/opportunity_at_work/pulls{/number}","milestones_url":"https://api.github.com/repos/oorion/opportunity_at_work/milestones{/number}","notifications_url":"https://api.github.com/repos/oorion/opportunity_at_work/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oorion/opportunity_at_work/labels{/name}","releases_url":"https://api.github.com/repos/oorion/opportunity_at_work/releases{/id}","created_at":"2015-04-19T21:43:18Z","updated_at":"2015-05-01T17:35:35Z","pushed_at":"2015-05-01T17:51:27Z","git_url":"git://github.com/oorion/opportunity_at_work.git","ssh_url":"git@github.com:oorion/opportunity_at_work.git","clone_url":"https://github.com/oorion/opportunity_at_work.git","svn_url":"https://github.com/oorion/opportunity_at_work","homepage":null,"size":12473,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41"},"html":{"href":"https://github.com/oorion/opportunity_at_work/pull/41"},"issue":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/issues/41"},"comments":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/oorion/opportunity_at_work/statuses/2b966c62726164e2064d649cb7ac11c296b0d939"}}}}