{"action":"created","comment":{"url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/comments/38061691","id":38061691,"diff_hunk":"@@ -0,0 +1,19 @@\n+class CreateRatingCaches < ActiveRecord::Migration\n+\n+  def self.up\n+      create_table :rating_caches do |t|\n+        t.belongs_to :cacheable, :polymorphic => true\n+        t.float :avg, :null => false","path":"db/migrate/20150826075924_create_rating_caches.rb","position":6,"original_position":6,"commit_id":"58c427955f54c13c91af9ff609f48da616b41648","original_commit_id":"58c427955f54c13c91af9ff609f48da616b41648","user":{"login":"PoslinskiNet","id":1891508,"avatar_url":"https://avatars.githubusercontent.com/u/1891508?v=3","gravatar_id":"","url":"https://api.github.com/users/PoslinskiNet","html_url":"https://github.com/PoslinskiNet","followers_url":"https://api.github.com/users/PoslinskiNet/followers","following_url":"https://api.github.com/users/PoslinskiNet/following{/other_user}","gists_url":"https://api.github.com/users/PoslinskiNet/gists{/gist_id}","starred_url":"https://api.github.com/users/PoslinskiNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoslinskiNet/subscriptions","organizations_url":"https://api.github.com/users/PoslinskiNet/orgs","repos_url":"https://api.github.com/users/PoslinskiNet/repos","events_url":"https://api.github.com/users/PoslinskiNet/events{/privacy}","received_events_url":"https://api.github.com/users/PoslinskiNet/received_events","type":"User","site_admin":false},"body":"Use new hash syntax","created_at":"2015-08-27T04:43:21Z","updated_at":"2015-08-27T04:43:21Z","html_url":"https://github.com/wojtodzio/SkillsSet/pull/2#discussion_r38061691","pull_request_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/comments/38061691"},"html":{"href":"https://github.com/wojtodzio/SkillsSet/pull/2#discussion_r38061691"},"pull_request":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2","id":43384065,"html_url":"https://github.com/wojtodzio/SkillsSet/pull/2","diff_url":"https://github.com/wojtodzio/SkillsSet/pull/2.diff","patch_url":"https://github.com/wojtodzio/SkillsSet/pull/2.patch","issue_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/2","number":2,"state":"open","locked":false,"title":"Feature rating","user":{"login":"wojtodzio","id":4521397,"avatar_url":"https://avatars.githubusercontent.com/u/4521397?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtodzio","html_url":"https://github.com/wojtodzio","followers_url":"https://api.github.com/users/wojtodzio/followers","following_url":"https://api.github.com/users/wojtodzio/following{/other_user}","gists_url":"https://api.github.com/users/wojtodzio/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtodzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtodzio/subscriptions","organizations_url":"https://api.github.com/users/wojtodzio/orgs","repos_url":"https://api.github.com/users/wojtodzio/repos","events_url":"https://api.github.com/users/wojtodzio/events{/privacy}","received_events_url":"https://api.github.com/users/wojtodzio/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-26T09:59:10Z","updated_at":"2015-08-27T04:43:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f98a5075bb77a40700ec642cd0a0cffdc533ce7","assignee":{"login":"PoslinskiNet","id":1891508,"avatar_url":"https://avatars.githubusercontent.com/u/1891508?v=3","gravatar_id":"","url":"https://api.github.com/users/PoslinskiNet","html_url":"https://github.com/PoslinskiNet","followers_url":"https://api.github.com/users/PoslinskiNet/followers","following_url":"https://api.github.com/users/PoslinskiNet/following{/other_user}","gists_url":"https://api.github.com/users/PoslinskiNet/gists{/gist_id}","starred_url":"https://api.github.com/users/PoslinskiNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoslinskiNet/subscriptions","organizations_url":"https://api.github.com/users/PoslinskiNet/orgs","repos_url":"https://api.github.com/users/PoslinskiNet/repos","events_url":"https://api.github.com/users/PoslinskiNet/events{/privacy}","received_events_url":"https://api.github.com/users/PoslinskiNet/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2/commits","review_comments_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2/comments","review_comment_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/2/comments","statuses_url":"https://api.github.com/repos/wojtodzio/SkillsSet/statuses/58c427955f54c13c91af9ff609f48da616b41648","head":{"label":"wojtodzio:feature_rating","ref":"feature_rating","sha":"58c427955f54c13c91af9ff609f48da616b41648","user":{"login":"wojtodzio","id":4521397,"avatar_url":"https://avatars.githubusercontent.com/u/4521397?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtodzio","html_url":"https://github.com/wojtodzio","followers_url":"https://api.github.com/users/wojtodzio/followers","following_url":"https://api.github.com/users/wojtodzio/following{/other_user}","gists_url":"https://api.github.com/users/wojtodzio/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtodzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtodzio/subscriptions","organizations_url":"https://api.github.com/users/wojtodzio/orgs","repos_url":"https://api.github.com/users/wojtodzio/repos","events_url":"https://api.github.com/users/wojtodzio/events{/privacy}","received_events_url":"https://api.github.com/users/wojtodzio/received_events","type":"User","site_admin":false},"repo":{"id":40349982,"name":"SkillsSet","full_name":"wojtodzio/SkillsSet","owner":{"login":"wojtodzio","id":4521397,"avatar_url":"https://avatars.githubusercontent.com/u/4521397?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtodzio","html_url":"https://github.com/wojtodzio","followers_url":"https://api.github.com/users/wojtodzio/followers","following_url":"https://api.github.com/users/wojtodzio/following{/other_user}","gists_url":"https://api.github.com/users/wojtodzio/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtodzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtodzio/subscriptions","organizations_url":"https://api.github.com/users/wojtodzio/orgs","repos_url":"https://api.github.com/users/wojtodzio/repos","events_url":"https://api.github.com/users/wojtodzio/events{/privacy}","received_events_url":"https://api.github.com/users/wojtodzio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wojtodzio/SkillsSet","description":"Application for reviewing team skills","fork":false,"url":"https://api.github.com/repos/wojtodzio/SkillsSet","forks_url":"https://api.github.com/repos/wojtodzio/SkillsSet/forks","keys_url":"https://api.github.com/repos/wojtodzio/SkillsSet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wojtodzio/SkillsSet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wojtodzio/SkillsSet/teams","hooks_url":"https://api.github.com/repos/wojtodzio/SkillsSet/hooks","issue_events_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/events{/number}","events_url":"https://api.github.com/repos/wojtodzio/SkillsSet/events","assignees_url":"https://api.github.com/repos/wojtodzio/SkillsSet/assignees{/user}","branches_url":"https://api.github.com/repos/wojtodzio/SkillsSet/branches{/branch}","tags_url":"https://api.github.com/repos/wojtodzio/SkillsSet/tags","blobs_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/refs{/sha}","trees_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wojtodzio/SkillsSet/statuses/{sha}","languages_url":"https://api.github.com/repos/wojtodzio/SkillsSet/languages","stargazers_url":"https://api.github.com/repos/wojtodzio/SkillsSet/stargazers","contributors_url":"https://api.github.com/repos/wojtodzio/SkillsSet/contributors","subscribers_url":"https://api.github.com/repos/wojtodzio/SkillsSet/subscribers","subscription_url":"https://api.github.com/repos/wojtodzio/SkillsSet/subscription","commits_url":"https://api.github.com/repos/wojtodzio/SkillsSet/commits{/sha}","git_commits_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/commits{/sha}","comments_url":"https://api.github.com/repos/wojtodzio/SkillsSet/comments{/number}","issue_comment_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/comments{/number}","contents_url":"https://api.github.com/repos/wojtodzio/SkillsSet/contents/{+path}","compare_url":"https://api.github.com/repos/wojtodzio/SkillsSet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wojtodzio/SkillsSet/merges","archive_url":"https://api.github.com/repos/wojtodzio/SkillsSet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wojtodzio/SkillsSet/downloads","issues_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues{/number}","pulls_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls{/number}","milestones_url":"https://api.github.com/repos/wojtodzio/SkillsSet/milestones{/number}","notifications_url":"https://api.github.com/repos/wojtodzio/SkillsSet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wojtodzio/SkillsSet/labels{/name}","releases_url":"https://api.github.com/repos/wojtodzio/SkillsSet/releases{/id}","created_at":"2015-08-07T08:30:07Z","updated_at":"2015-08-07T08:31:18Z","pushed_at":"2015-08-27T04:40:19Z","git_url":"git://github.com/wojtodzio/SkillsSet.git","ssh_url":"git@github.com:wojtodzio/SkillsSet.git","clone_url":"https://github.com/wojtodzio/SkillsSet.git","svn_url":"https://github.com/wojtodzio/SkillsSet","homepage":null,"size":216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"wojtodzio:master","ref":"master","sha":"7dca570b1d8d29bb439d9de8b4a203177db0bbb3","user":{"login":"wojtodzio","id":4521397,"avatar_url":"https://avatars.githubusercontent.com/u/4521397?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtodzio","html_url":"https://github.com/wojtodzio","followers_url":"https://api.github.com/users/wojtodzio/followers","following_url":"https://api.github.com/users/wojtodzio/following{/other_user}","gists_url":"https://api.github.com/users/wojtodzio/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtodzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtodzio/subscriptions","organizations_url":"https://api.github.com/users/wojtodzio/orgs","repos_url":"https://api.github.com/users/wojtodzio/repos","events_url":"https://api.github.com/users/wojtodzio/events{/privacy}","received_events_url":"https://api.github.com/users/wojtodzio/received_events","type":"User","site_admin":false},"repo":{"id":40349982,"name":"SkillsSet","full_name":"wojtodzio/SkillsSet","owner":{"login":"wojtodzio","id":4521397,"avatar_url":"https://avatars.githubusercontent.com/u/4521397?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtodzio","html_url":"https://github.com/wojtodzio","followers_url":"https://api.github.com/users/wojtodzio/followers","following_url":"https://api.github.com/users/wojtodzio/following{/other_user}","gists_url":"https://api.github.com/users/wojtodzio/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtodzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtodzio/subscriptions","organizations_url":"https://api.github.com/users/wojtodzio/orgs","repos_url":"https://api.github.com/users/wojtodzio/repos","events_url":"https://api.github.com/users/wojtodzio/events{/privacy}","received_events_url":"https://api.github.com/users/wojtodzio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wojtodzio/SkillsSet","description":"Application for reviewing team skills","fork":false,"url":"https://api.github.com/repos/wojtodzio/SkillsSet","forks_url":"https://api.github.com/repos/wojtodzio/SkillsSet/forks","keys_url":"https://api.github.com/repos/wojtodzio/SkillsSet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wojtodzio/SkillsSet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wojtodzio/SkillsSet/teams","hooks_url":"https://api.github.com/repos/wojtodzio/SkillsSet/hooks","issue_events_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/events{/number}","events_url":"https://api.github.com/repos/wojtodzio/SkillsSet/events","assignees_url":"https://api.github.com/repos/wojtodzio/SkillsSet/assignees{/user}","branches_url":"https://api.github.com/repos/wojtodzio/SkillsSet/branches{/branch}","tags_url":"https://api.github.com/repos/wojtodzio/SkillsSet/tags","blobs_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/refs{/sha}","trees_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wojtodzio/SkillsSet/statuses/{sha}","languages_url":"https://api.github.com/repos/wojtodzio/SkillsSet/languages","stargazers_url":"https://api.github.com/repos/wojtodzio/SkillsSet/stargazers","contributors_url":"https://api.github.com/repos/wojtodzio/SkillsSet/contributors","subscribers_url":"https://api.github.com/repos/wojtodzio/SkillsSet/subscribers","subscription_url":"https://api.github.com/repos/wojtodzio/SkillsSet/subscription","commits_url":"https://api.github.com/repos/wojtodzio/SkillsSet/commits{/sha}","git_commits_url":"https://api.github.com/repos/wojtodzio/SkillsSet/git/commits{/sha}","comments_url":"https://api.github.com/repos/wojtodzio/SkillsSet/comments{/number}","issue_comment_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/comments{/number}","contents_url":"https://api.github.com/repos/wojtodzio/SkillsSet/contents/{+path}","compare_url":"https://api.github.com/repos/wojtodzio/SkillsSet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wojtodzio/SkillsSet/merges","archive_url":"https://api.github.com/repos/wojtodzio/SkillsSet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wojtodzio/SkillsSet/downloads","issues_url":"https://api.github.com/repos/wojtodzio/SkillsSet/issues{/number}","pulls_url":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls{/number}","milestones_url":"https://api.github.com/repos/wojtodzio/SkillsSet/milestones{/number}","notifications_url":"https://api.github.com/repos/wojtodzio/SkillsSet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wojtodzio/SkillsSet/labels{/name}","releases_url":"https://api.github.com/repos/wojtodzio/SkillsSet/releases{/id}","created_at":"2015-08-07T08:30:07Z","updated_at":"2015-08-07T08:31:18Z","pushed_at":"2015-08-27T04:40:19Z","git_url":"git://github.com/wojtodzio/SkillsSet.git","ssh_url":"git@github.com:wojtodzio/SkillsSet.git","clone_url":"https://github.com/wojtodzio/SkillsSet.git","svn_url":"https://github.com/wojtodzio/SkillsSet","homepage":null,"size":216,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2"},"html":{"href":"https://github.com/wojtodzio/SkillsSet/pull/2"},"issue":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/2"},"comments":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/wojtodzio/SkillsSet/statuses/58c427955f54c13c91af9ff609f48da616b41648"}}}}