{"action":"created","comment":{"url":"https://api.github.com/repos/tmysok/Protospace/pulls/comments/68357248","id":68357248,"diff_hunk":"@@ -0,0 +1,3 @@\n+// Place all the styles related to the likes controller here.\n+// They will automatically be included in application.css.\n+// You can use Sass (SCSS) here: http://sass-lang.com/","path":"app/assets/stylesheets/likes.scss","position":3,"original_position":3,"commit_id":"718df5ec6c39920eeeeaef0d3850fc64e0149185","original_commit_id":"718df5ec6c39920eeeeaef0d3850fc64e0149185","user":{"login":"sa-inu","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/sa-inu","html_url":"https://github.com/sa-inu","followers_url":"https://api.github.com/users/sa-inu/followers","following_url":"https://api.github.com/users/sa-inu/following{/other_user}","gists_url":"https://api.github.com/users/sa-inu/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-inu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-inu/subscriptions","organizations_url":"https://api.github.com/users/sa-inu/orgs","repos_url":"https://api.github.com/users/sa-inu/repos","events_url":"https://api.github.com/users/sa-inu/events{/privacy}","received_events_url":"https://api.github.com/users/sa-inu/received_events","type":"User","site_admin":false},"body":"@tmysok これも消して","created_at":"2016-06-24T06:09:42Z","updated_at":"2016-06-24T06:09:42Z","html_url":"https://github.com/tmysok/Protospace/pull/30#discussion_r68357248","pull_request_url":"https://api.github.com/repos/tmysok/Protospace/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/comments/68357248"},"html":{"href":"https://github.com/tmysok/Protospace/pull/30#discussion_r68357248"},"pull_request":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/tmysok/Protospace/pulls/30","id":75006437,"html_url":"https://github.com/tmysok/Protospace/pull/30","diff_url":"https://github.com/tmysok/Protospace/pull/30.diff","patch_url":"https://github.com/tmysok/Protospace/pull/30.patch","issue_url":"https://api.github.com/repos/tmysok/Protospace/issues/30","number":30,"state":"open","locked":false,"title":"Implement like function","user":{"login":"tmysok","id":17180666,"avatar_url":"https://avatars.githubusercontent.com/u/17180666?v=3","gravatar_id":"","url":"https://api.github.com/users/tmysok","html_url":"https://github.com/tmysok","followers_url":"https://api.github.com/users/tmysok/followers","following_url":"https://api.github.com/users/tmysok/following{/other_user}","gists_url":"https://api.github.com/users/tmysok/gists{/gist_id}","starred_url":"https://api.github.com/users/tmysok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmysok/subscriptions","organizations_url":"https://api.github.com/users/tmysok/orgs","repos_url":"https://api.github.com/users/tmysok/repos","events_url":"https://api.github.com/users/tmysok/events{/privacy}","received_events_url":"https://api.github.com/users/tmysok/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n- Generate `Like` model and create `likes` table\r\n- Define `likes`'s association with `users` and `prototypes`\r\n- Add `likes_count` column on `prototypes` table\r\n- Add like button on the view of `prototypes#show`\r\n\r\n# WHY\r\n- To enable users to add like flag to prototypes\r\n\r\n# RELATED ISSUE\r\nhttps://github.com/tmysok/Protospace/issues/29","created_at":"2016-06-23T18:46:48Z","updated_at":"2016-06-24T06:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3adaf8bbe4699916939d974d54fda6db8ae66a5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tmysok/Protospace/pulls/30/commits","review_comments_url":"https://api.github.com/repos/tmysok/Protospace/pulls/30/comments","review_comment_url":"https://api.github.com/repos/tmysok/Protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tmysok/Protospace/issues/30/comments","statuses_url":"https://api.github.com/repos/tmysok/Protospace/statuses/718df5ec6c39920eeeeaef0d3850fc64e0149185","head":{"label":"tmysok:implement_like_function","ref":"implement_like_function","sha":"718df5ec6c39920eeeeaef0d3850fc64e0149185","user":{"login":"tmysok","id":17180666,"avatar_url":"https://avatars.githubusercontent.com/u/17180666?v=3","gravatar_id":"","url":"https://api.github.com/users/tmysok","html_url":"https://github.com/tmysok","followers_url":"https://api.github.com/users/tmysok/followers","following_url":"https://api.github.com/users/tmysok/following{/other_user}","gists_url":"https://api.github.com/users/tmysok/gists{/gist_id}","starred_url":"https://api.github.com/users/tmysok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmysok/subscriptions","organizations_url":"https://api.github.com/users/tmysok/orgs","repos_url":"https://api.github.com/users/tmysok/repos","events_url":"https://api.github.com/users/tmysok/events{/privacy}","received_events_url":"https://api.github.com/users/tmysok/received_events","type":"User","site_admin":false},"repo":{"id":58167274,"name":"Protospace","full_name":"tmysok/Protospace","owner":{"login":"tmysok","id":17180666,"avatar_url":"https://avatars.githubusercontent.com/u/17180666?v=3","gravatar_id":"","url":"https://api.github.com/users/tmysok","html_url":"https://github.com/tmysok","followers_url":"https://api.github.com/users/tmysok/followers","following_url":"https://api.github.com/users/tmysok/following{/other_user}","gists_url":"https://api.github.com/users/tmysok/gists{/gist_id}","starred_url":"https://api.github.com/users/tmysok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmysok/subscriptions","organizations_url":"https://api.github.com/users/tmysok/orgs","repos_url":"https://api.github.com/users/tmysok/repos","events_url":"https://api.github.com/users/tmysok/events{/privacy}","received_events_url":"https://api.github.com/users/tmysok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmysok/Protospace","description":"","fork":false,"url":"https://api.github.com/repos/tmysok/Protospace","forks_url":"https://api.github.com/repos/tmysok/Protospace/forks","keys_url":"https://api.github.com/repos/tmysok/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmysok/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmysok/Protospace/teams","hooks_url":"https://api.github.com/repos/tmysok/Protospace/hooks","issue_events_url":"https://api.github.com/repos/tmysok/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/tmysok/Protospace/events","assignees_url":"https://api.github.com/repos/tmysok/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/tmysok/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/tmysok/Protospace/tags","blobs_url":"https://api.github.com/repos/tmysok/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmysok/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmysok/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmysok/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmysok/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/tmysok/Protospace/languages","stargazers_url":"https://api.github.com/repos/tmysok/Protospace/stargazers","contributors_url":"https://api.github.com/repos/tmysok/Protospace/contributors","subscribers_url":"https://api.github.com/repos/tmysok/Protospace/subscribers","subscription_url":"https://api.github.com/repos/tmysok/Protospace/subscription","commits_url":"https://api.github.com/repos/tmysok/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmysok/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmysok/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmysok/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmysok/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/tmysok/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmysok/Protospace/merges","archive_url":"https://api.github.com/repos/tmysok/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmysok/Protospace/downloads","issues_url":"https://api.github.com/repos/tmysok/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/tmysok/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/tmysok/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/tmysok/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmysok/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/tmysok/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/tmysok/Protospace/deployments","created_at":"2016-05-05T23:38:21Z","updated_at":"2016-05-06T12:36:47Z","pushed_at":"2016-06-24T04:04:58Z","git_url":"git://github.com/tmysok/Protospace.git","ssh_url":"git@github.com:tmysok/Protospace.git","clone_url":"https://github.com/tmysok/Protospace.git","svn_url":"https://github.com/tmysok/Protospace","homepage":null,"size":663,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"tmysok:master","ref":"master","sha":"a0e3ecf45b247cd8d5fc9b7ca8e7a74f9b699e2f","user":{"login":"tmysok","id":17180666,"avatar_url":"https://avatars.githubusercontent.com/u/17180666?v=3","gravatar_id":"","url":"https://api.github.com/users/tmysok","html_url":"https://github.com/tmysok","followers_url":"https://api.github.com/users/tmysok/followers","following_url":"https://api.github.com/users/tmysok/following{/other_user}","gists_url":"https://api.github.com/users/tmysok/gists{/gist_id}","starred_url":"https://api.github.com/users/tmysok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmysok/subscriptions","organizations_url":"https://api.github.com/users/tmysok/orgs","repos_url":"https://api.github.com/users/tmysok/repos","events_url":"https://api.github.com/users/tmysok/events{/privacy}","received_events_url":"https://api.github.com/users/tmysok/received_events","type":"User","site_admin":false},"repo":{"id":58167274,"name":"Protospace","full_name":"tmysok/Protospace","owner":{"login":"tmysok","id":17180666,"avatar_url":"https://avatars.githubusercontent.com/u/17180666?v=3","gravatar_id":"","url":"https://api.github.com/users/tmysok","html_url":"https://github.com/tmysok","followers_url":"https://api.github.com/users/tmysok/followers","following_url":"https://api.github.com/users/tmysok/following{/other_user}","gists_url":"https://api.github.com/users/tmysok/gists{/gist_id}","starred_url":"https://api.github.com/users/tmysok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmysok/subscriptions","organizations_url":"https://api.github.com/users/tmysok/orgs","repos_url":"https://api.github.com/users/tmysok/repos","events_url":"https://api.github.com/users/tmysok/events{/privacy}","received_events_url":"https://api.github.com/users/tmysok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmysok/Protospace","description":"","fork":false,"url":"https://api.github.com/repos/tmysok/Protospace","forks_url":"https://api.github.com/repos/tmysok/Protospace/forks","keys_url":"https://api.github.com/repos/tmysok/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmysok/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmysok/Protospace/teams","hooks_url":"https://api.github.com/repos/tmysok/Protospace/hooks","issue_events_url":"https://api.github.com/repos/tmysok/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/tmysok/Protospace/events","assignees_url":"https://api.github.com/repos/tmysok/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/tmysok/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/tmysok/Protospace/tags","blobs_url":"https://api.github.com/repos/tmysok/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmysok/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmysok/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmysok/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmysok/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/tmysok/Protospace/languages","stargazers_url":"https://api.github.com/repos/tmysok/Protospace/stargazers","contributors_url":"https://api.github.com/repos/tmysok/Protospace/contributors","subscribers_url":"https://api.github.com/repos/tmysok/Protospace/subscribers","subscription_url":"https://api.github.com/repos/tmysok/Protospace/subscription","commits_url":"https://api.github.com/repos/tmysok/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmysok/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmysok/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmysok/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmysok/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/tmysok/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmysok/Protospace/merges","archive_url":"https://api.github.com/repos/tmysok/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmysok/Protospace/downloads","issues_url":"https://api.github.com/repos/tmysok/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/tmysok/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/tmysok/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/tmysok/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmysok/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/tmysok/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/tmysok/Protospace/deployments","created_at":"2016-05-05T23:38:21Z","updated_at":"2016-05-06T12:36:47Z","pushed_at":"2016-06-24T04:04:58Z","git_url":"git://github.com/tmysok/Protospace.git","ssh_url":"git@github.com:tmysok/Protospace.git","clone_url":"https://github.com/tmysok/Protospace.git","svn_url":"https://github.com/tmysok/Protospace","homepage":null,"size":663,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/30"},"html":{"href":"https://github.com/tmysok/Protospace/pull/30"},"issue":{"href":"https://api.github.com/repos/tmysok/Protospace/issues/30"},"comments":{"href":"https://api.github.com/repos/tmysok/Protospace/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tmysok/Protospace/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/tmysok/Protospace/statuses/718df5ec6c39920eeeeaef0d3850fc64e0149185"}}}}
{"actor":{"display_login":"sa-inu"}}