{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/comments/84924136","pull_request_review_id":5670607,"id":84924136,"diff_hunk":"@@ -0,0 +1,27 @@\n+class ActsAsVotableMigration < ActiveRecord::Migration\n+  def self.up\n+    create_table :votes do |t|\n+\n+      t.references :votable, :polymorphic => true\n+      t.references :voter, :polymorphic => true\n+\n+      t.boolean :vote_flag\n+      t.string :vote_scope\n+      t.integer :vote_weight\n+\n+      t.timestamps\n+    end\n+\n+    if ActiveRecord::VERSION::MAJOR < 4","path":"db/migrate/20161011213434_acts_as_votable_migration.rb","position":15,"original_position":15,"commit_id":"99eb8e1c405e0b818bf679291fa1d7760682bba1","original_commit_id":"99eb8e1c405e0b818bf679291fa1d7760682bba1","user":{"login":"Hamled","id":66355,"avatar_url":"https://avatars.githubusercontent.com/u/66355?v=3","gravatar_id":"","url":"https://api.github.com/users/Hamled","html_url":"https://github.com/Hamled","followers_url":"https://api.github.com/users/Hamled/followers","following_url":"https://api.github.com/users/Hamled/following{/other_user}","gists_url":"https://api.github.com/users/Hamled/gists{/gist_id}","starred_url":"https://api.github.com/users/Hamled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hamled/subscriptions","organizations_url":"https://api.github.com/users/Hamled/orgs","repos_url":"https://api.github.com/users/Hamled/repos","events_url":"https://api.github.com/users/Hamled/events{/privacy}","received_events_url":"https://api.github.com/users/Hamled/received_events","type":"User","site_admin":false},"body":"Given that this is a Rails 4 project and ActiveRecord's versions match that of Rails, I don't think we need this if statement or its contents.","created_at":"2016-10-25T15:04:27Z","updated_at":"2016-10-25T15:04:27Z","html_url":"https://github.com/Ada-C6/MediaRanker/pull/93#discussion_r84924136","pull_request_url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/comments/84924136"},"html":{"href":"https://github.com/Ada-C6/MediaRanker/pull/93#discussion_r84924136"},"pull_request":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93","id":89664442,"html_url":"https://github.com/Ada-C6/MediaRanker/pull/93","diff_url":"https://github.com/Ada-C6/MediaRanker/pull/93.diff","patch_url":"https://github.com/Ada-C6/MediaRanker/pull/93.patch","issue_url":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/93","number":93,"state":"open","locked":false,"title":"2nd submission - updated finished project for Rachel Pavilanis","user":{"login":"rpavilanis","id":15220180,"avatar_url":"https://avatars.githubusercontent.com/u/15220180?v=3","gravatar_id":"","url":"https://api.github.com/users/rpavilanis","html_url":"https://github.com/rpavilanis","followers_url":"https://api.github.com/users/rpavilanis/followers","following_url":"https://api.github.com/users/rpavilanis/following{/other_user}","gists_url":"https://api.github.com/users/rpavilanis/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavilanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavilanis/subscriptions","organizations_url":"https://api.github.com/users/rpavilanis/orgs","repos_url":"https://api.github.com/users/rpavilanis/repos","events_url":"https://api.github.com/users/rpavilanis/events{/privacy}","received_events_url":"https://api.github.com/users/rpavilanis/received_events","type":"User","site_admin":false},"body":"@PilgrimMemoirs \r\n\r\nDeployed to Heroku: https://media-ranker-rpav.herokuapp.com/\r\n\r\n","created_at":"2016-10-17T17:10:41Z","updated_at":"2016-10-25T15:04:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7632cde09de627a6b455d9a50304f9cf3eea214e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93/commits","review_comments_url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93/comments","review_comment_url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/93/comments","statuses_url":"https://api.github.com/repos/Ada-C6/MediaRanker/statuses/99eb8e1c405e0b818bf679291fa1d7760682bba1","head":{"label":"rpavilanis:master","ref":"master","sha":"99eb8e1c405e0b818bf679291fa1d7760682bba1","user":{"login":"rpavilanis","id":15220180,"avatar_url":"https://avatars.githubusercontent.com/u/15220180?v=3","gravatar_id":"","url":"https://api.github.com/users/rpavilanis","html_url":"https://github.com/rpavilanis","followers_url":"https://api.github.com/users/rpavilanis/followers","following_url":"https://api.github.com/users/rpavilanis/following{/other_user}","gists_url":"https://api.github.com/users/rpavilanis/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavilanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavilanis/subscriptions","organizations_url":"https://api.github.com/users/rpavilanis/orgs","repos_url":"https://api.github.com/users/rpavilanis/repos","events_url":"https://api.github.com/users/rpavilanis/events{/privacy}","received_events_url":"https://api.github.com/users/rpavilanis/received_events","type":"User","site_admin":false},"repo":{"id":70621853,"name":"MediaRanker","full_name":"rpavilanis/MediaRanker","owner":{"login":"rpavilanis","id":15220180,"avatar_url":"https://avatars.githubusercontent.com/u/15220180?v=3","gravatar_id":"","url":"https://api.github.com/users/rpavilanis","html_url":"https://github.com/rpavilanis","followers_url":"https://api.github.com/users/rpavilanis/followers","following_url":"https://api.github.com/users/rpavilanis/following{/other_user}","gists_url":"https://api.github.com/users/rpavilanis/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavilanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavilanis/subscriptions","organizations_url":"https://api.github.com/users/rpavilanis/orgs","repos_url":"https://api.github.com/users/rpavilanis/repos","events_url":"https://api.github.com/users/rpavilanis/events{/privacy}","received_events_url":"https://api.github.com/users/rpavilanis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpavilanis/MediaRanker","description":null,"fork":true,"url":"https://api.github.com/repos/rpavilanis/MediaRanker","forks_url":"https://api.github.com/repos/rpavilanis/MediaRanker/forks","keys_url":"https://api.github.com/repos/rpavilanis/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpavilanis/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpavilanis/MediaRanker/teams","hooks_url":"https://api.github.com/repos/rpavilanis/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/rpavilanis/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/rpavilanis/MediaRanker/events","assignees_url":"https://api.github.com/repos/rpavilanis/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/rpavilanis/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/rpavilanis/MediaRanker/tags","blobs_url":"https://api.github.com/repos/rpavilanis/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpavilanis/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpavilanis/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpavilanis/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpavilanis/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/rpavilanis/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/rpavilanis/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/rpavilanis/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/rpavilanis/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/rpavilanis/MediaRanker/subscription","commits_url":"https://api.github.com/repos/rpavilanis/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpavilanis/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpavilanis/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpavilanis/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpavilanis/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/rpavilanis/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpavilanis/MediaRanker/merges","archive_url":"https://api.github.com/repos/rpavilanis/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpavilanis/MediaRanker/downloads","issues_url":"https://api.github.com/repos/rpavilanis/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/rpavilanis/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/rpavilanis/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/rpavilanis/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpavilanis/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/rpavilanis/MediaRanker/releases{/id}","deployments_url":"https://api.github.com/repos/rpavilanis/MediaRanker/deployments","created_at":"2016-10-11T18:10:42Z","updated_at":"2016-10-11T18:13:42Z","pushed_at":"2016-10-17T17:06:19Z","git_url":"git://github.com/rpavilanis/MediaRanker.git","ssh_url":"git@github.com:rpavilanis/MediaRanker.git","clone_url":"https://github.com/rpavilanis/MediaRanker.git","svn_url":"https://github.com/rpavilanis/MediaRanker","homepage":null,"size":478,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ada-C6:master","ref":"master","sha":"8cc9558fd01f237c2e0f991149060805e8be1460","user":{"login":"Ada-C6","id":20429248,"avatar_url":"https://avatars.githubusercontent.com/u/20429248?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C6","html_url":"https://github.com/Ada-C6","followers_url":"https://api.github.com/users/Ada-C6/followers","following_url":"https://api.github.com/users/Ada-C6/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C6/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C6/subscriptions","organizations_url":"https://api.github.com/users/Ada-C6/orgs","repos_url":"https://api.github.com/users/Ada-C6/repos","events_url":"https://api.github.com/users/Ada-C6/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C6/received_events","type":"Organization","site_admin":false},"repo":{"id":70343649,"name":"MediaRanker","full_name":"Ada-C6/MediaRanker","owner":{"login":"Ada-C6","id":20429248,"avatar_url":"https://avatars.githubusercontent.com/u/20429248?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C6","html_url":"https://github.com/Ada-C6","followers_url":"https://api.github.com/users/Ada-C6/followers","following_url":"https://api.github.com/users/Ada-C6/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C6/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C6/subscriptions","organizations_url":"https://api.github.com/users/Ada-C6/orgs","repos_url":"https://api.github.com/users/Ada-C6/repos","events_url":"https://api.github.com/users/Ada-C6/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C6/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-C6/MediaRanker","description":null,"fork":true,"url":"https://api.github.com/repos/Ada-C6/MediaRanker","forks_url":"https://api.github.com/repos/Ada-C6/MediaRanker/forks","keys_url":"https://api.github.com/repos/Ada-C6/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C6/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C6/MediaRanker/teams","hooks_url":"https://api.github.com/repos/Ada-C6/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C6/MediaRanker/events","assignees_url":"https://api.github.com/repos/Ada-C6/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C6/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C6/MediaRanker/tags","blobs_url":"https://api.github.com/repos/Ada-C6/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C6/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C6/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C6/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C6/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C6/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/Ada-C6/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/Ada-C6/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/Ada-C6/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/Ada-C6/MediaRanker/subscription","commits_url":"https://api.github.com/repos/Ada-C6/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C6/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C6/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C6/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C6/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C6/MediaRanker/merges","archive_url":"https://api.github.com/repos/Ada-C6/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C6/MediaRanker/downloads","issues_url":"https://api.github.com/repos/Ada-C6/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C6/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C6/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C6/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C6/MediaRanker/releases{/id}","deployments_url":"https://api.github.com/repos/Ada-C6/MediaRanker/deployments","created_at":"2016-10-08T16:25:19Z","updated_at":"2016-10-21T21:05:19Z","pushed_at":"2016-10-22T23:53:58Z","git_url":"git://github.com/Ada-C6/MediaRanker.git","ssh_url":"git@github.com:Ada-C6/MediaRanker.git","clone_url":"https://github.com/Ada-C6/MediaRanker.git","svn_url":"https://github.com/Ada-C6/MediaRanker","homepage":null,"size":7370,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":30,"forks":50,"open_issues":30,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93"},"html":{"href":"https://github.com/Ada-C6/MediaRanker/pull/93"},"issue":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/93"},"comments":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C6/MediaRanker/statuses/99eb8e1c405e0b818bf679291fa1d7760682bba1"}}}}
{"actor":{"display_login":"Hamled"}}