{"action":"created","comment":{"url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/comments/48689890","id":48689890,"diff_hunk":"@@ -0,0 +1,22 @@\n+# This migration comes from acts_as_taggable_on_engine (originally 2)\n+class AddMissingUniqueIndices < ActiveRecord::Migration\n+\n+  def self.up\n+    add_index :tags, :name, unique: true\n+\n+    remove_index :taggings, :tag_id\n+    remove_index :taggings, [:taggable_id, :taggable_type, :context]\n+    add_index :taggings,\n+      [:tag_id, :taggable_id, :taggable_type, :context, :tagger_id, :tagger_type],\n+      unique: true, name: 'taggings_idx'","path":"db/migrate/20160103033830_add_missing_unique_indices.acts_as_taggable_on_engine.rb","position":11,"original_position":11,"commit_id":"6ad89c70ba103625b3c7d487e06a352ac89b739f","original_commit_id":"6ad89c70ba103625b3c7d487e06a352ac89b739f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Align the parameters of a method call if they span more than one line.","created_at":"2016-01-03T04:09:16Z","updated_at":"2016-01-03T04:09:16Z","html_url":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12#discussion_r48689890","pull_request_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/comments/48689890"},"html":{"href":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12#discussion_r48689890"},"pull_request":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12","id":54918417,"html_url":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12","diff_url":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12.diff","patch_url":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12.patch","issue_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/12","number":12,"state":"open","locked":false,"title":"Add Reviews and Contents","user":{"login":"dgrosenblatt","id":2251694,"avatar_url":"https://avatars.githubusercontent.com/u/2251694?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrosenblatt","html_url":"https://github.com/dgrosenblatt","followers_url":"https://api.github.com/users/dgrosenblatt/followers","following_url":"https://api.github.com/users/dgrosenblatt/following{/other_user}","gists_url":"https://api.github.com/users/dgrosenblatt/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrosenblatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrosenblatt/subscriptions","organizations_url":"https://api.github.com/users/dgrosenblatt/orgs","repos_url":"https://api.github.com/users/dgrosenblatt/repos","events_url":"https://api.github.com/users/dgrosenblatt/events{/privacy}","received_events_url":"https://api.github.com/users/dgrosenblatt/received_events","type":"User","site_admin":false},"body":"Completes #9 and #2.\r\n\r\n* Adds `Review`, which belongs to a `User`. Might change this to writer, or editor later. Will also need to determine relationship with restaurants later. `Review` just has a `restaurant_name` attribute for now. A `review` can have tags via the acts_as_taggable_on gem.\r\n\r\n* Adds a `Content` model for use on the front page of the website. A `content` can belong to any other object that implements `cover_photo_url` and `title`, which will ultimately include `Review`, `Recipe`, etc.","created_at":"2016-01-03T04:09:12Z","updated_at":"2016-01-03T04:09:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c026d1b3a74827516545378cad9aca0f5da9ab60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12/commits","review_comments_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12/comments","review_comment_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/12/comments","statuses_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/statuses/6ad89c70ba103625b3c7d487e06a352ac89b739f","head":{"label":"BrunchesOfBoston:dr-add-content-review","ref":"dr-add-content-review","sha":"6ad89c70ba103625b3c7d487e06a352ac89b739f","user":{"login":"BrunchesOfBoston","id":16457020,"avatar_url":"https://avatars.githubusercontent.com/u/16457020?v=3","gravatar_id":"","url":"https://api.github.com/users/BrunchesOfBoston","html_url":"https://github.com/BrunchesOfBoston","followers_url":"https://api.github.com/users/BrunchesOfBoston/followers","following_url":"https://api.github.com/users/BrunchesOfBoston/following{/other_user}","gists_url":"https://api.github.com/users/BrunchesOfBoston/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunchesOfBoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunchesOfBoston/subscriptions","organizations_url":"https://api.github.com/users/BrunchesOfBoston/orgs","repos_url":"https://api.github.com/users/BrunchesOfBoston/repos","events_url":"https://api.github.com/users/BrunchesOfBoston/events{/privacy}","received_events_url":"https://api.github.com/users/BrunchesOfBoston/received_events","type":"Organization","site_admin":false},"repo":{"id":48667705,"name":"brunches-of-boston","full_name":"BrunchesOfBoston/brunches-of-boston","owner":{"login":"BrunchesOfBoston","id":16457020,"avatar_url":"https://avatars.githubusercontent.com/u/16457020?v=3","gravatar_id":"","url":"https://api.github.com/users/BrunchesOfBoston","html_url":"https://github.com/BrunchesOfBoston","followers_url":"https://api.github.com/users/BrunchesOfBoston/followers","following_url":"https://api.github.com/users/BrunchesOfBoston/following{/other_user}","gists_url":"https://api.github.com/users/BrunchesOfBoston/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunchesOfBoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunchesOfBoston/subscriptions","organizations_url":"https://api.github.com/users/BrunchesOfBoston/orgs","repos_url":"https://api.github.com/users/BrunchesOfBoston/repos","events_url":"https://api.github.com/users/BrunchesOfBoston/events{/privacy}","received_events_url":"https://api.github.com/users/BrunchesOfBoston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrunchesOfBoston/brunches-of-boston","description":null,"fork":false,"url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston","forks_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/forks","keys_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/teams","hooks_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/hooks","issue_events_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/events{/number}","events_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/events","assignees_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/assignees{/user}","branches_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/branches{/branch}","tags_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/tags","blobs_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/statuses/{sha}","languages_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/languages","stargazers_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/stargazers","contributors_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/contributors","subscribers_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/subscribers","subscription_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/subscription","commits_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/contents/{+path}","compare_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/merges","archive_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/downloads","issues_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues{/number}","pulls_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls{/number}","milestones_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/milestones{/number}","notifications_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/labels{/name}","releases_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/releases{/id}","created_at":"2015-12-28T01:32:33Z","updated_at":"2015-12-28T01:33:01Z","pushed_at":"2016-01-03T04:09:12Z","git_url":"git://github.com/BrunchesOfBoston/brunches-of-boston.git","ssh_url":"git@github.com:BrunchesOfBoston/brunches-of-boston.git","clone_url":"https://github.com/BrunchesOfBoston/brunches-of-boston.git","svn_url":"https://github.com/BrunchesOfBoston/brunches-of-boston","homepage":null,"size":42,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"BrunchesOfBoston:master","ref":"master","sha":"16fdf0872cb47213c7752e8e0e3c40d8400d3551","user":{"login":"BrunchesOfBoston","id":16457020,"avatar_url":"https://avatars.githubusercontent.com/u/16457020?v=3","gravatar_id":"","url":"https://api.github.com/users/BrunchesOfBoston","html_url":"https://github.com/BrunchesOfBoston","followers_url":"https://api.github.com/users/BrunchesOfBoston/followers","following_url":"https://api.github.com/users/BrunchesOfBoston/following{/other_user}","gists_url":"https://api.github.com/users/BrunchesOfBoston/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunchesOfBoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunchesOfBoston/subscriptions","organizations_url":"https://api.github.com/users/BrunchesOfBoston/orgs","repos_url":"https://api.github.com/users/BrunchesOfBoston/repos","events_url":"https://api.github.com/users/BrunchesOfBoston/events{/privacy}","received_events_url":"https://api.github.com/users/BrunchesOfBoston/received_events","type":"Organization","site_admin":false},"repo":{"id":48667705,"name":"brunches-of-boston","full_name":"BrunchesOfBoston/brunches-of-boston","owner":{"login":"BrunchesOfBoston","id":16457020,"avatar_url":"https://avatars.githubusercontent.com/u/16457020?v=3","gravatar_id":"","url":"https://api.github.com/users/BrunchesOfBoston","html_url":"https://github.com/BrunchesOfBoston","followers_url":"https://api.github.com/users/BrunchesOfBoston/followers","following_url":"https://api.github.com/users/BrunchesOfBoston/following{/other_user}","gists_url":"https://api.github.com/users/BrunchesOfBoston/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunchesOfBoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunchesOfBoston/subscriptions","organizations_url":"https://api.github.com/users/BrunchesOfBoston/orgs","repos_url":"https://api.github.com/users/BrunchesOfBoston/repos","events_url":"https://api.github.com/users/BrunchesOfBoston/events{/privacy}","received_events_url":"https://api.github.com/users/BrunchesOfBoston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrunchesOfBoston/brunches-of-boston","description":null,"fork":false,"url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston","forks_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/forks","keys_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/teams","hooks_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/hooks","issue_events_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/events{/number}","events_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/events","assignees_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/assignees{/user}","branches_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/branches{/branch}","tags_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/tags","blobs_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/statuses/{sha}","languages_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/languages","stargazers_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/stargazers","contributors_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/contributors","subscribers_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/subscribers","subscription_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/subscription","commits_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/contents/{+path}","compare_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/merges","archive_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/downloads","issues_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues{/number}","pulls_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls{/number}","milestones_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/milestones{/number}","notifications_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/labels{/name}","releases_url":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/releases{/id}","created_at":"2015-12-28T01:32:33Z","updated_at":"2015-12-28T01:33:01Z","pushed_at":"2016-01-03T04:09:12Z","git_url":"git://github.com/BrunchesOfBoston/brunches-of-boston.git","ssh_url":"git@github.com:BrunchesOfBoston/brunches-of-boston.git","clone_url":"https://github.com/BrunchesOfBoston/brunches-of-boston.git","svn_url":"https://github.com/BrunchesOfBoston/brunches-of-boston","homepage":null,"size":42,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12"},"html":{"href":"https://github.com/BrunchesOfBoston/brunches-of-boston/pull/12"},"issue":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/12"},"comments":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/BrunchesOfBoston/brunches-of-boston/statuses/6ad89c70ba103625b3c7d487e06a352ac89b739f"}}}}