{"action":"created","comment":{"url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/comments/93166667","pull_request_review_id":13688235,"id":93166667,"diff_hunk":"@@ -3,8 +3,19 @@ class UserCollectionsController < ApplicationController\n     skip_before_action :authenticate_user_from_token!, only: [:index, :show]\n     def index\n       user = User.find(params[:user_id])\n+      art_object_id = params[:art_object]\n       collections = user.collections\n-      render json: collections, each_serializer: CollectionSerializer\n+      if params[:title] && art_object_id\n+        art_object = ArtObject.find(art_object_id)\n+\n+        filtered_collections = collections.select do |collection|\n+          !collection.art_objects.include?(art_object)\n+        end\n+        titles=filtered_collections.pluck(:title)","path":"app/controllers/v1/user_collections_controller.rb","position":13,"original_position":13,"commit_id":"23b740b557a1c65ae85e7a8700b30208ecc85fc0","original_commit_id":"23b740b557a1c65ae85e7a8700b30208ecc85fc0","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":"Surrounding space missing for operator =.","created_at":"2016-12-20T03:36:40Z","updated_at":"2016-12-20T03:36:41Z","html_url":"https://github.com/christian-acuna/vr-museum-api/pull/15#discussion_r93166667","pull_request_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/comments/93166667"},"html":{"href":"https://github.com/christian-acuna/vr-museum-api/pull/15#discussion_r93166667"},"pull_request":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15","id":98681377,"html_url":"https://github.com/christian-acuna/vr-museum-api/pull/15","diff_url":"https://github.com/christian-acuna/vr-museum-api/pull/15.diff","patch_url":"https://github.com/christian-acuna/vr-museum-api/pull/15.patch","issue_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/15","number":15,"state":"open","locked":false,"title":"Search primary","user":{"login":"lrrnlds","id":8601777,"avatar_url":"https://avatars.githubusercontent.com/u/8601777?v=3","gravatar_id":"","url":"https://api.github.com/users/lrrnlds","html_url":"https://github.com/lrrnlds","followers_url":"https://api.github.com/users/lrrnlds/followers","following_url":"https://api.github.com/users/lrrnlds/following{/other_user}","gists_url":"https://api.github.com/users/lrrnlds/gists{/gist_id}","starred_url":"https://api.github.com/users/lrrnlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrrnlds/subscriptions","organizations_url":"https://api.github.com/users/lrrnlds/orgs","repos_url":"https://api.github.com/users/lrrnlds/repos","events_url":"https://api.github.com/users/lrrnlds/events{/privacy}","received_events_url":"https://api.github.com/users/lrrnlds/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-20T03:36:28Z","updated_at":"2016-12-20T03:36:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15/commits","review_comments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15/comments","review_comment_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/15/comments","statuses_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/statuses/23b740b557a1c65ae85e7a8700b30208ecc85fc0","head":{"label":"christian-acuna:search_primary","ref":"search_primary","sha":"23b740b557a1c65ae85e7a8700b30208ecc85fc0","user":{"login":"christian-acuna","id":7112158,"avatar_url":"https://avatars.githubusercontent.com/u/7112158?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-acuna","html_url":"https://github.com/christian-acuna","followers_url":"https://api.github.com/users/christian-acuna/followers","following_url":"https://api.github.com/users/christian-acuna/following{/other_user}","gists_url":"https://api.github.com/users/christian-acuna/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-acuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-acuna/subscriptions","organizations_url":"https://api.github.com/users/christian-acuna/orgs","repos_url":"https://api.github.com/users/christian-acuna/repos","events_url":"https://api.github.com/users/christian-acuna/events{/privacy}","received_events_url":"https://api.github.com/users/christian-acuna/received_events","type":"User","site_admin":false},"repo":{"id":76609980,"name":"vr-museum-api","full_name":"christian-acuna/vr-museum-api","owner":{"login":"christian-acuna","id":7112158,"avatar_url":"https://avatars.githubusercontent.com/u/7112158?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-acuna","html_url":"https://github.com/christian-acuna","followers_url":"https://api.github.com/users/christian-acuna/followers","following_url":"https://api.github.com/users/christian-acuna/following{/other_user}","gists_url":"https://api.github.com/users/christian-acuna/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-acuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-acuna/subscriptions","organizations_url":"https://api.github.com/users/christian-acuna/orgs","repos_url":"https://api.github.com/users/christian-acuna/repos","events_url":"https://api.github.com/users/christian-acuna/events{/privacy}","received_events_url":"https://api.github.com/users/christian-acuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christian-acuna/vr-museum-api","description":null,"fork":false,"url":"https://api.github.com/repos/christian-acuna/vr-museum-api","forks_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/forks","keys_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/teams","hooks_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/hooks","issue_events_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/events{/number}","events_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/events","assignees_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/assignees{/user}","branches_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/branches{/branch}","tags_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/tags","blobs_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/statuses/{sha}","languages_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/languages","stargazers_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/stargazers","contributors_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/contributors","subscribers_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/subscribers","subscription_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/subscription","commits_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/contents/{+path}","compare_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/merges","archive_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/downloads","issues_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues{/number}","pulls_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls{/number}","milestones_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/milestones{/number}","notifications_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/labels{/name}","releases_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/releases{/id}","deployments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/deployments","created_at":"2016-12-16T01:23:15Z","updated_at":"2016-12-18T22:21:44Z","pushed_at":"2016-12-20T03:36:28Z","git_url":"git://github.com/christian-acuna/vr-museum-api.git","ssh_url":"git@github.com:christian-acuna/vr-museum-api.git","clone_url":"https://github.com/christian-acuna/vr-museum-api.git","svn_url":"https://github.com/christian-acuna/vr-museum-api","homepage":null,"size":137,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"development"}},"base":{"label":"christian-acuna:development","ref":"development","sha":"97ddd6f26bd18b5678e08ab96e6ab540507fd76b","user":{"login":"christian-acuna","id":7112158,"avatar_url":"https://avatars.githubusercontent.com/u/7112158?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-acuna","html_url":"https://github.com/christian-acuna","followers_url":"https://api.github.com/users/christian-acuna/followers","following_url":"https://api.github.com/users/christian-acuna/following{/other_user}","gists_url":"https://api.github.com/users/christian-acuna/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-acuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-acuna/subscriptions","organizations_url":"https://api.github.com/users/christian-acuna/orgs","repos_url":"https://api.github.com/users/christian-acuna/repos","events_url":"https://api.github.com/users/christian-acuna/events{/privacy}","received_events_url":"https://api.github.com/users/christian-acuna/received_events","type":"User","site_admin":false},"repo":{"id":76609980,"name":"vr-museum-api","full_name":"christian-acuna/vr-museum-api","owner":{"login":"christian-acuna","id":7112158,"avatar_url":"https://avatars.githubusercontent.com/u/7112158?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-acuna","html_url":"https://github.com/christian-acuna","followers_url":"https://api.github.com/users/christian-acuna/followers","following_url":"https://api.github.com/users/christian-acuna/following{/other_user}","gists_url":"https://api.github.com/users/christian-acuna/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-acuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-acuna/subscriptions","organizations_url":"https://api.github.com/users/christian-acuna/orgs","repos_url":"https://api.github.com/users/christian-acuna/repos","events_url":"https://api.github.com/users/christian-acuna/events{/privacy}","received_events_url":"https://api.github.com/users/christian-acuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christian-acuna/vr-museum-api","description":null,"fork":false,"url":"https://api.github.com/repos/christian-acuna/vr-museum-api","forks_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/forks","keys_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/teams","hooks_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/hooks","issue_events_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/events{/number}","events_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/events","assignees_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/assignees{/user}","branches_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/branches{/branch}","tags_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/tags","blobs_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/statuses/{sha}","languages_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/languages","stargazers_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/stargazers","contributors_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/contributors","subscribers_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/subscribers","subscription_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/subscription","commits_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/contents/{+path}","compare_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/merges","archive_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/downloads","issues_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues{/number}","pulls_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls{/number}","milestones_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/milestones{/number}","notifications_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/labels{/name}","releases_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/releases{/id}","deployments_url":"https://api.github.com/repos/christian-acuna/vr-museum-api/deployments","created_at":"2016-12-16T01:23:15Z","updated_at":"2016-12-18T22:21:44Z","pushed_at":"2016-12-20T03:36:28Z","git_url":"git://github.com/christian-acuna/vr-museum-api.git","ssh_url":"git@github.com:christian-acuna/vr-museum-api.git","clone_url":"https://github.com/christian-acuna/vr-museum-api.git","svn_url":"https://github.com/christian-acuna/vr-museum-api","homepage":null,"size":137,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15"},"html":{"href":"https://github.com/christian-acuna/vr-museum-api/pull/15"},"issue":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/15"},"comments":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/christian-acuna/vr-museum-api/statuses/23b740b557a1c65ae85e7a8700b30208ecc85fc0"}}}}
{"actor":{"display_login":"houndci-bot"}}