{"action":"closed","number":178,"pull_request":{"url":"https://api.github.com/repos/mikedao/the_pivot/pulls/178","id":29773677,"html_url":"https://github.com/mikedao/the_pivot/pull/178","diff_url":"https://github.com/mikedao/the_pivot/pull/178.diff","patch_url":"https://github.com/mikedao/the_pivot/pull/178.patch","issue_url":"https://api.github.com/repos/mikedao/the_pivot/issues/178","number":178,"state":"closed","locked":false,"title":"Category project association; closes #162","user":{"login":"AdamSmith910","id":4065543,"avatar_url":"https://avatars.githubusercontent.com/u/4065543?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamSmith910","html_url":"https://github.com/AdamSmith910","followers_url":"https://api.github.com/users/AdamSmith910/followers","following_url":"https://api.github.com/users/AdamSmith910/following{/other_user}","gists_url":"https://api.github.com/users/AdamSmith910/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamSmith910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamSmith910/subscriptions","organizations_url":"https://api.github.com/users/AdamSmith910/orgs","repos_url":"https://api.github.com/users/AdamSmith910/repos","events_url":"https://api.github.com/users/AdamSmith910/events{/privacy}","received_events_url":"https://api.github.com/users/AdamSmith910/received_events","type":"User","site_admin":false},"body":"I cleaned up the style of the admin/tenants/index page so it looked better by switching the <th> alignment from center to left\r\n\r\nI removed the redundant Tenants link from the admin dashboard because the borrowers link is already in the admins navbar\r\n\r\nI created a message that displays for the categories/show if the category in question does not have an projects associated with it\r\n\r\nI wrote tests for the above\r\n\r\n","created_at":"2015-02-22T17:41:37Z","updated_at":"2015-02-25T21:56:43Z","closed_at":"2015-02-25T21:56:43Z","merged_at":null,"merge_commit_sha":"8ba2c483601fe635d8741270ee7e489b7ee4d8bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/178/commits","review_comments_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/178/comments","review_comment_url":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/issues/178/comments","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/77a4cb3807f3e66b465634fe1b1531ebb5b278f3","head":{"label":"mikedao:category_project_association","ref":"category_project_association","sha":"77a4cb3807f3e66b465634fe1b1531ebb5b278f3","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":30558977,"name":"the_pivot","full_name":"mikedao/the_pivot","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/the_pivot","forks_url":"https://api.github.com/repos/mikedao/the_pivot/forks","keys_url":"https://api.github.com/repos/mikedao/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/the_pivot/teams","hooks_url":"https://api.github.com/repos/mikedao/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mikedao/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/the_pivot/events","assignees_url":"https://api.github.com/repos/mikedao/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/the_pivot/tags","blobs_url":"https://api.github.com/repos/mikedao/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mikedao/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mikedao/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mikedao/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mikedao/the_pivot/subscription","commits_url":"https://api.github.com/repos/mikedao/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/the_pivot/merges","archive_url":"https://api.github.com/repos/mikedao/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/the_pivot/downloads","issues_url":"https://api.github.com/repos/mikedao/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/the_pivot/releases{/id}","created_at":"2015-02-09T21:18:30Z","updated_at":"2015-02-25T21:30:11Z","pushed_at":"2015-02-25T21:42:47Z","git_url":"git://github.com/mikedao/the_pivot.git","ssh_url":"git@github.com:mikedao/the_pivot.git","clone_url":"https://github.com/mikedao/the_pivot.git","svn_url":"https://github.com/mikedao/the_pivot","homepage":null,"size":16996,"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":56,"forks":0,"open_issues":56,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedao:master","ref":"master","sha":"03ee418ea42352ae168d0d6466eee76749ee34d8","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":30558977,"name":"the_pivot","full_name":"mikedao/the_pivot","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/the_pivot","forks_url":"https://api.github.com/repos/mikedao/the_pivot/forks","keys_url":"https://api.github.com/repos/mikedao/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/the_pivot/teams","hooks_url":"https://api.github.com/repos/mikedao/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/mikedao/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/the_pivot/events","assignees_url":"https://api.github.com/repos/mikedao/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/the_pivot/tags","blobs_url":"https://api.github.com/repos/mikedao/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/the_pivot/languages","stargazers_url":"https://api.github.com/repos/mikedao/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/mikedao/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/mikedao/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/mikedao/the_pivot/subscription","commits_url":"https://api.github.com/repos/mikedao/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikedao/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/the_pivot/merges","archive_url":"https://api.github.com/repos/mikedao/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/the_pivot/downloads","issues_url":"https://api.github.com/repos/mikedao/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/the_pivot/releases{/id}","created_at":"2015-02-09T21:18:30Z","updated_at":"2015-02-25T21:30:11Z","pushed_at":"2015-02-25T21:42:47Z","git_url":"git://github.com/mikedao/the_pivot.git","ssh_url":"git@github.com:mikedao/the_pivot.git","clone_url":"https://github.com/mikedao/the_pivot.git","svn_url":"https://github.com/mikedao/the_pivot","homepage":null,"size":16996,"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":56,"forks":0,"open_issues":56,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/178"},"html":{"href":"https://github.com/mikedao/the_pivot/pull/178"},"issue":{"href":"https://api.github.com/repos/mikedao/the_pivot/issues/178"},"comments":{"href":"https://api.github.com/repos/mikedao/the_pivot/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikedao/the_pivot/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/mikedao/the_pivot/statuses/77a4cb3807f3e66b465634fe1b1531ebb5b278f3"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":14,"commits":24,"additions":67,"deletions":19,"changed_files":9}}