{"action":"created","comment":{"url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/comments/32890224","id":32890224,"diff_hunk":"@@ -0,0 +1,7 @@\n+class Follow < ActiveRecord::Base\n+  has_many :followers, class_name: 'User', primary_key: :follower_id, foreign_key: :id\n+  has_many :following, class_name: 'User', primary_key: :following_id, foreign_key: :id","path":"app/models/follow.rb","position":3,"original_position":3,"commit_id":"218e59b9ed71972e1fbcfd23b8c15bc07c597a32","original_commit_id":"218e59b9ed71972e1fbcfd23b8c15bc07c597a32","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":"Line is too long. [87/80]<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-21T03:47:27Z","updated_at":"2015-06-21T03:47:27Z","html_url":"https://github.com/nandosousafr/nerd-power-rails/pull/11#discussion_r32890224","pull_request_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/comments/32890224"},"html":{"href":"https://github.com/nandosousafr/nerd-power-rails/pull/11#discussion_r32890224"},"pull_request":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11","id":38178585,"html_url":"https://github.com/nandosousafr/nerd-power-rails/pull/11","diff_url":"https://github.com/nandosousafr/nerd-power-rails/pull/11.diff","patch_url":"https://github.com/nandosousafr/nerd-power-rails/pull/11.patch","issue_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/11","number":11,"state":"open","locked":false,"title":"Twitter like following system","user":{"login":"nandosousafr","id":818744,"avatar_url":"https://avatars.githubusercontent.com/u/818744?v=3","gravatar_id":"","url":"https://api.github.com/users/nandosousafr","html_url":"https://github.com/nandosousafr","followers_url":"https://api.github.com/users/nandosousafr/followers","following_url":"https://api.github.com/users/nandosousafr/following{/other_user}","gists_url":"https://api.github.com/users/nandosousafr/gists{/gist_id}","starred_url":"https://api.github.com/users/nandosousafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandosousafr/subscriptions","organizations_url":"https://api.github.com/users/nandosousafr/orgs","repos_url":"https://api.github.com/users/nandosousafr/repos","events_url":"https://api.github.com/users/nandosousafr/events{/privacy}","received_events_url":"https://api.github.com/users/nandosousafr/received_events","type":"User","site_admin":false},"body":"O que achas @ofabriciojr ?","created_at":"2015-06-21T03:47:19Z","updated_at":"2015-06-21T03:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcefbfac9f2cebad0b4123269f3c90232959653c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11/commits","review_comments_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11/comments","review_comment_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/11/comments","statuses_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/statuses/218e59b9ed71972e1fbcfd23b8c15bc07c597a32","head":{"label":"nandosousafr:twitter-like-following-system","ref":"twitter-like-following-system","sha":"218e59b9ed71972e1fbcfd23b8c15bc07c597a32","user":{"login":"nandosousafr","id":818744,"avatar_url":"https://avatars.githubusercontent.com/u/818744?v=3","gravatar_id":"","url":"https://api.github.com/users/nandosousafr","html_url":"https://github.com/nandosousafr","followers_url":"https://api.github.com/users/nandosousafr/followers","following_url":"https://api.github.com/users/nandosousafr/following{/other_user}","gists_url":"https://api.github.com/users/nandosousafr/gists{/gist_id}","starred_url":"https://api.github.com/users/nandosousafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandosousafr/subscriptions","organizations_url":"https://api.github.com/users/nandosousafr/orgs","repos_url":"https://api.github.com/users/nandosousafr/repos","events_url":"https://api.github.com/users/nandosousafr/events{/privacy}","received_events_url":"https://api.github.com/users/nandosousafr/received_events","type":"User","site_admin":false},"repo":{"id":16011557,"name":"nerd-power-rails","full_name":"nandosousafr/nerd-power-rails","owner":{"login":"nandosousafr","id":818744,"avatar_url":"https://avatars.githubusercontent.com/u/818744?v=3","gravatar_id":"","url":"https://api.github.com/users/nandosousafr","html_url":"https://github.com/nandosousafr","followers_url":"https://api.github.com/users/nandosousafr/followers","following_url":"https://api.github.com/users/nandosousafr/following{/other_user}","gists_url":"https://api.github.com/users/nandosousafr/gists{/gist_id}","starred_url":"https://api.github.com/users/nandosousafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandosousafr/subscriptions","organizations_url":"https://api.github.com/users/nandosousafr/orgs","repos_url":"https://api.github.com/users/nandosousafr/repos","events_url":"https://api.github.com/users/nandosousafr/events{/privacy}","received_events_url":"https://api.github.com/users/nandosousafr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nandosousafr/nerd-power-rails","description":"Social Network for Nerds and Geeks.","fork":false,"url":"https://api.github.com/repos/nandosousafr/nerd-power-rails","forks_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/forks","keys_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/teams","hooks_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/hooks","issue_events_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/events{/number}","events_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/events","assignees_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/assignees{/user}","branches_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/branches{/branch}","tags_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/tags","blobs_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/languages","stargazers_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/stargazers","contributors_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/contributors","subscribers_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/subscribers","subscription_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/subscription","commits_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/contents/{+path}","compare_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/merges","archive_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/downloads","issues_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues{/number}","pulls_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/labels{/name}","releases_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/releases{/id}","created_at":"2014-01-17T20:57:24Z","updated_at":"2015-06-21T02:19:00Z","pushed_at":"2015-06-21T03:47:20Z","git_url":"git://github.com/nandosousafr/nerd-power-rails.git","ssh_url":"git@github.com:nandosousafr/nerd-power-rails.git","clone_url":"https://github.com/nandosousafr/nerd-power-rails.git","svn_url":"https://github.com/nandosousafr/nerd-power-rails","homepage":"http://grokspot.herokuapp.com/","size":1665,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"nandosousafr:master","ref":"master","sha":"fc7eb9375db3eb133bad098df8c1d036243a43e8","user":{"login":"nandosousafr","id":818744,"avatar_url":"https://avatars.githubusercontent.com/u/818744?v=3","gravatar_id":"","url":"https://api.github.com/users/nandosousafr","html_url":"https://github.com/nandosousafr","followers_url":"https://api.github.com/users/nandosousafr/followers","following_url":"https://api.github.com/users/nandosousafr/following{/other_user}","gists_url":"https://api.github.com/users/nandosousafr/gists{/gist_id}","starred_url":"https://api.github.com/users/nandosousafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandosousafr/subscriptions","organizations_url":"https://api.github.com/users/nandosousafr/orgs","repos_url":"https://api.github.com/users/nandosousafr/repos","events_url":"https://api.github.com/users/nandosousafr/events{/privacy}","received_events_url":"https://api.github.com/users/nandosousafr/received_events","type":"User","site_admin":false},"repo":{"id":16011557,"name":"nerd-power-rails","full_name":"nandosousafr/nerd-power-rails","owner":{"login":"nandosousafr","id":818744,"avatar_url":"https://avatars.githubusercontent.com/u/818744?v=3","gravatar_id":"","url":"https://api.github.com/users/nandosousafr","html_url":"https://github.com/nandosousafr","followers_url":"https://api.github.com/users/nandosousafr/followers","following_url":"https://api.github.com/users/nandosousafr/following{/other_user}","gists_url":"https://api.github.com/users/nandosousafr/gists{/gist_id}","starred_url":"https://api.github.com/users/nandosousafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandosousafr/subscriptions","organizations_url":"https://api.github.com/users/nandosousafr/orgs","repos_url":"https://api.github.com/users/nandosousafr/repos","events_url":"https://api.github.com/users/nandosousafr/events{/privacy}","received_events_url":"https://api.github.com/users/nandosousafr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nandosousafr/nerd-power-rails","description":"Social Network for Nerds and Geeks.","fork":false,"url":"https://api.github.com/repos/nandosousafr/nerd-power-rails","forks_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/forks","keys_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/teams","hooks_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/hooks","issue_events_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/events{/number}","events_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/events","assignees_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/assignees{/user}","branches_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/branches{/branch}","tags_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/tags","blobs_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/languages","stargazers_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/stargazers","contributors_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/contributors","subscribers_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/subscribers","subscription_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/subscription","commits_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/contents/{+path}","compare_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/merges","archive_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/downloads","issues_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues{/number}","pulls_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/labels{/name}","releases_url":"https://api.github.com/repos/nandosousafr/nerd-power-rails/releases{/id}","created_at":"2014-01-17T20:57:24Z","updated_at":"2015-06-21T02:19:00Z","pushed_at":"2015-06-21T03:47:20Z","git_url":"git://github.com/nandosousafr/nerd-power-rails.git","ssh_url":"git@github.com:nandosousafr/nerd-power-rails.git","clone_url":"https://github.com/nandosousafr/nerd-power-rails.git","svn_url":"https://github.com/nandosousafr/nerd-power-rails","homepage":"http://grokspot.herokuapp.com/","size":1665,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11"},"html":{"href":"https://github.com/nandosousafr/nerd-power-rails/pull/11"},"issue":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/11"},"comments":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/nandosousafr/nerd-power-rails/statuses/218e59b9ed71972e1fbcfd23b8c15bc07c597a32"}}}}