{"action":"created","comment":{"url":"https://api.github.com/repos/ndlib/honeycomb/pulls/comments/42160849","id":42160849,"diff_hunk":"@@ -14,13 +14,7 @@ def save\n     fix_image_param!\n     collection.attributes = params\n     check_unique_id\n-\n-    if collection.save && process_uploaded_image","path":"app/services/save_collection.rb","position":5,"original_position":5,"commit_id":"4b83e069515a93a0aee69cfc3871fc98184cb197","original_commit_id":"4b83e069515a93a0aee69cfc3871fc98184cb197","user":{"login":"jgondron","id":11502744,"avatar_url":"https://avatars.githubusercontent.com/u/11502744?v=3","gravatar_id":"","url":"https://api.github.com/users/jgondron","html_url":"https://github.com/jgondron","followers_url":"https://api.github.com/users/jgondron/followers","following_url":"https://api.github.com/users/jgondron/following{/other_user}","gists_url":"https://api.github.com/users/jgondron/gists{/gist_id}","starred_url":"https://api.github.com/users/jgondron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgondron/subscriptions","organizations_url":"https://api.github.com/users/jgondron/orgs","repos_url":"https://api.github.com/users/jgondron/repos","events_url":"https://api.github.com/users/jgondron/events{/privacy}","received_events_url":"https://api.github.com/users/jgondron/received_events","type":"User","site_admin":false},"body":"Yeah this is a merge related issue. I removed this line before those image changes were in. Will fix. Good catch","created_at":"2015-10-15T18:21:09Z","updated_at":"2015-10-15T18:21:09Z","html_url":"https://github.com/ndlib/honeycomb/pull/280#discussion_r42160849","pull_request_url":"https://api.github.com/repos/ndlib/honeycomb/pulls/280","_links":{"self":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/comments/42160849"},"html":{"href":"https://github.com/ndlib/honeycomb/pull/280#discussion_r42160849"},"pull_request":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/280"}}},"pull_request":{"url":"https://api.github.com/repos/ndlib/honeycomb/pulls/280","id":47817835,"html_url":"https://github.com/ndlib/honeycomb/pull/280","diff_url":"https://github.com/ndlib/honeycomb/pull/280.diff","patch_url":"https://github.com/ndlib/honeycomb/pull/280.patch","issue_url":"https://api.github.com/repos/ndlib/honeycomb/issues/280","number":280,"state":"open","locked":false,"title":"DEC-636: Migrate Showcase relationship","user":{"login":"jgondron","id":11502744,"avatar_url":"https://avatars.githubusercontent.com/u/11502744?v=3","gravatar_id":"","url":"https://api.github.com/users/jgondron","html_url":"https://github.com/jgondron","followers_url":"https://api.github.com/users/jgondron/followers","following_url":"https://api.github.com/users/jgondron/following{/other_user}","gists_url":"https://api.github.com/users/jgondron/gists{/gist_id}","starred_url":"https://api.github.com/users/jgondron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgondron/subscriptions","organizations_url":"https://api.github.com/users/jgondron/orgs","repos_url":"https://api.github.com/users/jgondron/repos","events_url":"https://api.github.com/users/jgondron/events{/privacy}","received_events_url":"https://api.github.com/users/jgondron/received_events","type":"User","site_admin":false},"body":"Why: Need to create a relationship between Collection and Showcase now that Exhibit will no longer provide that relationship.\r\nHow: \r\n-Added association to Collection/Showcase and removed from Exhibit. \r\n-Fixed all service classes that were getting to showcases/collections via the exhibit relationship, ex: Destroy methods now directly destroy showcases related to a collection instead of going through exhibits\r\n-Fixed the controllers use collection.showcases instead of collection.exhibit.showcases\r\n\r\nHad to change lots of specs in this one, so please review this carefully.","created_at":"2015-10-15T17:38:23Z","updated_at":"2015-10-15T18:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5642b6043b865e5480b73e4d2545162ab4aad6a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ndlib/honeycomb/pulls/280/commits","review_comments_url":"https://api.github.com/repos/ndlib/honeycomb/pulls/280/comments","review_comment_url":"https://api.github.com/repos/ndlib/honeycomb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndlib/honeycomb/issues/280/comments","statuses_url":"https://api.github.com/repos/ndlib/honeycomb/statuses/4b83e069515a93a0aee69cfc3871fc98184cb197","head":{"label":"ndlib:DEC-636-Migrate-Showcase-Relationship","ref":"DEC-636-Migrate-Showcase-Relationship","sha":"4b83e069515a93a0aee69cfc3871fc98184cb197","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":25221636,"name":"honeycomb","full_name":"ndlib/honeycomb","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/honeycomb","description":"Honeycomb provides basic collection and item administration, as well as serialization of your collections so they can be used by external applications.","fork":false,"url":"https://api.github.com/repos/ndlib/honeycomb","forks_url":"https://api.github.com/repos/ndlib/honeycomb/forks","keys_url":"https://api.github.com/repos/ndlib/honeycomb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/honeycomb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/honeycomb/teams","hooks_url":"https://api.github.com/repos/ndlib/honeycomb/hooks","issue_events_url":"https://api.github.com/repos/ndlib/honeycomb/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/honeycomb/events","assignees_url":"https://api.github.com/repos/ndlib/honeycomb/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/honeycomb/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/honeycomb/tags","blobs_url":"https://api.github.com/repos/ndlib/honeycomb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/honeycomb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/honeycomb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/honeycomb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/honeycomb/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/honeycomb/languages","stargazers_url":"https://api.github.com/repos/ndlib/honeycomb/stargazers","contributors_url":"https://api.github.com/repos/ndlib/honeycomb/contributors","subscribers_url":"https://api.github.com/repos/ndlib/honeycomb/subscribers","subscription_url":"https://api.github.com/repos/ndlib/honeycomb/subscription","commits_url":"https://api.github.com/repos/ndlib/honeycomb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/honeycomb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/honeycomb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/honeycomb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/honeycomb/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/honeycomb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/honeycomb/merges","archive_url":"https://api.github.com/repos/ndlib/honeycomb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/honeycomb/downloads","issues_url":"https://api.github.com/repos/ndlib/honeycomb/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/honeycomb/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/honeycomb/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/honeycomb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/honeycomb/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/honeycomb/releases{/id}","created_at":"2014-10-14T18:55:34Z","updated_at":"2015-05-08T12:21:27Z","pushed_at":"2015-10-15T17:39:35Z","git_url":"git://github.com/ndlib/honeycomb.git","ssh_url":"git@github.com:ndlib/honeycomb.git","clone_url":"https://github.com/ndlib/honeycomb.git","svn_url":"https://github.com/ndlib/honeycomb","homepage":"","size":95720,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"ndlib:DEC-376-Merge-collection-and-exhibit-models","ref":"DEC-376-Merge-collection-and-exhibit-models","sha":"7014e475b2970a9cf6a4d9a25714c7497c7f4dde","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":25221636,"name":"honeycomb","full_name":"ndlib/honeycomb","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/honeycomb","description":"Honeycomb provides basic collection and item administration, as well as serialization of your collections so they can be used by external applications.","fork":false,"url":"https://api.github.com/repos/ndlib/honeycomb","forks_url":"https://api.github.com/repos/ndlib/honeycomb/forks","keys_url":"https://api.github.com/repos/ndlib/honeycomb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/honeycomb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/honeycomb/teams","hooks_url":"https://api.github.com/repos/ndlib/honeycomb/hooks","issue_events_url":"https://api.github.com/repos/ndlib/honeycomb/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/honeycomb/events","assignees_url":"https://api.github.com/repos/ndlib/honeycomb/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/honeycomb/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/honeycomb/tags","blobs_url":"https://api.github.com/repos/ndlib/honeycomb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/honeycomb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/honeycomb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/honeycomb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/honeycomb/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/honeycomb/languages","stargazers_url":"https://api.github.com/repos/ndlib/honeycomb/stargazers","contributors_url":"https://api.github.com/repos/ndlib/honeycomb/contributors","subscribers_url":"https://api.github.com/repos/ndlib/honeycomb/subscribers","subscription_url":"https://api.github.com/repos/ndlib/honeycomb/subscription","commits_url":"https://api.github.com/repos/ndlib/honeycomb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/honeycomb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/honeycomb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/honeycomb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/honeycomb/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/honeycomb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/honeycomb/merges","archive_url":"https://api.github.com/repos/ndlib/honeycomb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/honeycomb/downloads","issues_url":"https://api.github.com/repos/ndlib/honeycomb/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/honeycomb/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/honeycomb/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/honeycomb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/honeycomb/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/honeycomb/releases{/id}","created_at":"2014-10-14T18:55:34Z","updated_at":"2015-05-08T12:21:27Z","pushed_at":"2015-10-15T17:39:35Z","git_url":"git://github.com/ndlib/honeycomb.git","ssh_url":"git@github.com:ndlib/honeycomb.git","clone_url":"https://github.com/ndlib/honeycomb.git","svn_url":"https://github.com/ndlib/honeycomb","homepage":"","size":95720,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/280"},"html":{"href":"https://github.com/ndlib/honeycomb/pull/280"},"issue":{"href":"https://api.github.com/repos/ndlib/honeycomb/issues/280"},"comments":{"href":"https://api.github.com/repos/ndlib/honeycomb/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndlib/honeycomb/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/ndlib/honeycomb/statuses/4b83e069515a93a0aee69cfc3871fc98184cb197"}}}}