{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/comments/49526029","id":49526029,"diff_hunk":"@@ -0,0 +1,12 @@\n+class CreateMovies < ActiveRecord::Migration\n+  def change\n+    create_table :movies do |t|\n+      t.string :name\n+      t.string :director\n+      t.string :description\n+      t.integer :upvotes, :default => 0","path":"db/migrate/20151130214422_create_movies.rb","position":7,"original_position":7,"commit_id":"32688a568cc37ddaa0de21b2508a4ad68fbfada7","original_commit_id":"32688a568cc37ddaa0de21b2508a4ad68fbfada7","user":{"login":"lo-k","id":11022193,"avatar_url":"https://avatars.githubusercontent.com/u/11022193?v=3","gravatar_id":"","url":"https://api.github.com/users/lo-k","html_url":"https://github.com/lo-k","followers_url":"https://api.github.com/users/lo-k/followers","following_url":"https://api.github.com/users/lo-k/following{/other_user}","gists_url":"https://api.github.com/users/lo-k/gists{/gist_id}","starred_url":"https://api.github.com/users/lo-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lo-k/subscriptions","organizations_url":"https://api.github.com/users/lo-k/orgs","repos_url":"https://api.github.com/users/lo-k/repos","events_url":"https://api.github.com/users/lo-k/events{/privacy}","received_events_url":"https://api.github.com/users/lo-k/received_events","type":"User","site_admin":false},"body":"Nice way to ensure that there is a starting value here so that you don't have to deal with it when you create your initial Movie records.","created_at":"2016-01-12T22:41:11Z","updated_at":"2016-01-12T22:41:11Z","html_url":"https://github.com/Ada-C4/MediaRanker/pull/42#discussion_r49526029","pull_request_url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/comments/49526029"},"html":{"href":"https://github.com/Ada-C4/MediaRanker/pull/42#discussion_r49526029"},"pull_request":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42","id":52734484,"html_url":"https://github.com/Ada-C4/MediaRanker/pull/42","diff_url":"https://github.com/Ada-C4/MediaRanker/pull/42.diff","patch_url":"https://github.com/Ada-C4/MediaRanker/pull/42.patch","issue_url":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/42","number":42,"state":"open","locked":false,"title":"Complete MediaRanker","user":{"login":"desireepoland","id":10914475,"avatar_url":"https://avatars.githubusercontent.com/u/10914475?v=3","gravatar_id":"","url":"https://api.github.com/users/desireepoland","html_url":"https://github.com/desireepoland","followers_url":"https://api.github.com/users/desireepoland/followers","following_url":"https://api.github.com/users/desireepoland/following{/other_user}","gists_url":"https://api.github.com/users/desireepoland/gists{/gist_id}","starred_url":"https://api.github.com/users/desireepoland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desireepoland/subscriptions","organizations_url":"https://api.github.com/users/desireepoland/orgs","repos_url":"https://api.github.com/users/desireepoland/repos","events_url":"https://api.github.com/users/desireepoland/events{/privacy}","received_events_url":"https://api.github.com/users/desireepoland/received_events","type":"User","site_admin":false},"body":"Complete MediaRanker functionality, with Bootstrap styling and rspec. Also DRYed up code using partials and rspec shared examples.","created_at":"2015-12-04T23:20:12Z","updated_at":"2016-01-12T22:41:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"634a5997e21cba5031b6ba4ea954bd4e30e2737e","assignee":{"login":"lo-k","id":11022193,"avatar_url":"https://avatars.githubusercontent.com/u/11022193?v=3","gravatar_id":"","url":"https://api.github.com/users/lo-k","html_url":"https://github.com/lo-k","followers_url":"https://api.github.com/users/lo-k/followers","following_url":"https://api.github.com/users/lo-k/following{/other_user}","gists_url":"https://api.github.com/users/lo-k/gists{/gist_id}","starred_url":"https://api.github.com/users/lo-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lo-k/subscriptions","organizations_url":"https://api.github.com/users/lo-k/orgs","repos_url":"https://api.github.com/users/lo-k/repos","events_url":"https://api.github.com/users/lo-k/events{/privacy}","received_events_url":"https://api.github.com/users/lo-k/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42/commits","review_comments_url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42/comments","review_comment_url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/42/comments","statuses_url":"https://api.github.com/repos/Ada-C4/MediaRanker/statuses/32688a568cc37ddaa0de21b2508a4ad68fbfada7","head":{"label":"desireepoland:dfp/master","ref":"dfp/master","sha":"32688a568cc37ddaa0de21b2508a4ad68fbfada7","user":{"login":"desireepoland","id":10914475,"avatar_url":"https://avatars.githubusercontent.com/u/10914475?v=3","gravatar_id":"","url":"https://api.github.com/users/desireepoland","html_url":"https://github.com/desireepoland","followers_url":"https://api.github.com/users/desireepoland/followers","following_url":"https://api.github.com/users/desireepoland/following{/other_user}","gists_url":"https://api.github.com/users/desireepoland/gists{/gist_id}","starred_url":"https://api.github.com/users/desireepoland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desireepoland/subscriptions","organizations_url":"https://api.github.com/users/desireepoland/orgs","repos_url":"https://api.github.com/users/desireepoland/repos","events_url":"https://api.github.com/users/desireepoland/events{/privacy}","received_events_url":"https://api.github.com/users/desireepoland/received_events","type":"User","site_admin":false},"repo":{"id":47141063,"name":"MediaRanker","full_name":"desireepoland/MediaRanker","owner":{"login":"desireepoland","id":10914475,"avatar_url":"https://avatars.githubusercontent.com/u/10914475?v=3","gravatar_id":"","url":"https://api.github.com/users/desireepoland","html_url":"https://github.com/desireepoland","followers_url":"https://api.github.com/users/desireepoland/followers","following_url":"https://api.github.com/users/desireepoland/following{/other_user}","gists_url":"https://api.github.com/users/desireepoland/gists{/gist_id}","starred_url":"https://api.github.com/users/desireepoland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desireepoland/subscriptions","organizations_url":"https://api.github.com/users/desireepoland/orgs","repos_url":"https://api.github.com/users/desireepoland/repos","events_url":"https://api.github.com/users/desireepoland/events{/privacy}","received_events_url":"https://api.github.com/users/desireepoland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/desireepoland/MediaRanker","description":"","fork":true,"url":"https://api.github.com/repos/desireepoland/MediaRanker","forks_url":"https://api.github.com/repos/desireepoland/MediaRanker/forks","keys_url":"https://api.github.com/repos/desireepoland/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/desireepoland/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/desireepoland/MediaRanker/teams","hooks_url":"https://api.github.com/repos/desireepoland/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/desireepoland/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/desireepoland/MediaRanker/events","assignees_url":"https://api.github.com/repos/desireepoland/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/desireepoland/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/desireepoland/MediaRanker/tags","blobs_url":"https://api.github.com/repos/desireepoland/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/desireepoland/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/desireepoland/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/desireepoland/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/desireepoland/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/desireepoland/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/desireepoland/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/desireepoland/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/desireepoland/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/desireepoland/MediaRanker/subscription","commits_url":"https://api.github.com/repos/desireepoland/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/desireepoland/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/desireepoland/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/desireepoland/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/desireepoland/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/desireepoland/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/desireepoland/MediaRanker/merges","archive_url":"https://api.github.com/repos/desireepoland/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/desireepoland/MediaRanker/downloads","issues_url":"https://api.github.com/repos/desireepoland/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/desireepoland/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/desireepoland/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/desireepoland/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/desireepoland/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/desireepoland/MediaRanker/releases{/id}","created_at":"2015-11-30T19:30:12Z","updated_at":"2015-11-17T19:05:01Z","pushed_at":"2015-12-04T22:54:23Z","git_url":"git://github.com/desireepoland/MediaRanker.git","ssh_url":"git@github.com:desireepoland/MediaRanker.git","clone_url":"https://github.com/desireepoland/MediaRanker.git","svn_url":"https://github.com/desireepoland/MediaRanker","homepage":null,"size":235,"stargazers_count":0,"watchers_count":0,"language":null,"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-C4:dfp/master","ref":"dfp/master","sha":"175749e11ca978db2f2464d993827b781c0bfd11","user":{"login":"Ada-C4","id":14096372,"avatar_url":"https://avatars.githubusercontent.com/u/14096372?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C4","html_url":"https://github.com/Ada-C4","followers_url":"https://api.github.com/users/Ada-C4/followers","following_url":"https://api.github.com/users/Ada-C4/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C4/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C4/subscriptions","organizations_url":"https://api.github.com/users/Ada-C4/orgs","repos_url":"https://api.github.com/users/Ada-C4/repos","events_url":"https://api.github.com/users/Ada-C4/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C4/received_events","type":"Organization","site_admin":false},"repo":{"id":47089231,"name":"MediaRanker","full_name":"Ada-C4/MediaRanker","owner":{"login":"Ada-C4","id":14096372,"avatar_url":"https://avatars.githubusercontent.com/u/14096372?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-C4","html_url":"https://github.com/Ada-C4","followers_url":"https://api.github.com/users/Ada-C4/followers","following_url":"https://api.github.com/users/Ada-C4/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C4/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C4/subscriptions","organizations_url":"https://api.github.com/users/Ada-C4/orgs","repos_url":"https://api.github.com/users/Ada-C4/repos","events_url":"https://api.github.com/users/Ada-C4/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-C4/MediaRanker","description":"","fork":true,"url":"https://api.github.com/repos/Ada-C4/MediaRanker","forks_url":"https://api.github.com/repos/Ada-C4/MediaRanker/forks","keys_url":"https://api.github.com/repos/Ada-C4/MediaRanker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C4/MediaRanker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C4/MediaRanker/teams","hooks_url":"https://api.github.com/repos/Ada-C4/MediaRanker/hooks","issue_events_url":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C4/MediaRanker/events","assignees_url":"https://api.github.com/repos/Ada-C4/MediaRanker/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C4/MediaRanker/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C4/MediaRanker/tags","blobs_url":"https://api.github.com/repos/Ada-C4/MediaRanker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C4/MediaRanker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C4/MediaRanker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C4/MediaRanker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C4/MediaRanker/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C4/MediaRanker/languages","stargazers_url":"https://api.github.com/repos/Ada-C4/MediaRanker/stargazers","contributors_url":"https://api.github.com/repos/Ada-C4/MediaRanker/contributors","subscribers_url":"https://api.github.com/repos/Ada-C4/MediaRanker/subscribers","subscription_url":"https://api.github.com/repos/Ada-C4/MediaRanker/subscription","commits_url":"https://api.github.com/repos/Ada-C4/MediaRanker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C4/MediaRanker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C4/MediaRanker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C4/MediaRanker/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C4/MediaRanker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C4/MediaRanker/merges","archive_url":"https://api.github.com/repos/Ada-C4/MediaRanker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C4/MediaRanker/downloads","issues_url":"https://api.github.com/repos/Ada-C4/MediaRanker/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C4/MediaRanker/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C4/MediaRanker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C4/MediaRanker/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C4/MediaRanker/releases{/id}","created_at":"2015-11-30T01:55:13Z","updated_at":"2015-11-17T19:05:01Z","pushed_at":"2016-01-12T05:52:50Z","git_url":"git://github.com/Ada-C4/MediaRanker.git","ssh_url":"git@github.com:Ada-C4/MediaRanker.git","clone_url":"https://github.com/Ada-C4/MediaRanker.git","svn_url":"https://github.com/Ada-C4/MediaRanker","homepage":null,"size":1609,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":22,"forks":22,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42"},"html":{"href":"https://github.com/Ada-C4/MediaRanker/pull/42"},"issue":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/42"},"comments":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C4/MediaRanker/statuses/32688a568cc37ddaa0de21b2508a4ad68fbfada7"}}}}