{"action":"created","comment":{"url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments/58298968","id":58298968,"diff_hunk":"@@ -1,31 +1,29 @@\n+require 'csv'\n class Preference < ActiveRecord::Base\n     belongs_to :user\n \n     # 視聴時間を配列で返す\n+    # preference.body\n+    # ゲーム実況, おもしろ, ガールズ, タメになる、洋楽, その他, 合計の順で","path":"app/models/preference.rb","position":7,"original_position":7,"commit_id":"8761b10b362ed2ea3a07541b2a9813d9c02ecfba","original_commit_id":"8761b10b362ed2ea3a07541b2a9813d9c02ecfba","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"body":"__[rubocop]__\n* Use only ascii symbols in comments. [:ref](https://github.com/bbatsov/ruby-style-guide#english-comments)","created_at":"2016-04-02T20:07:45Z","updated_at":"2016-04-02T20:07:45Z","html_url":"https://github.com/hyde2able/TsuiMana/pull/103#discussion_r58298968","pull_request_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments/58298968"},"html":{"href":"https://github.com/hyde2able/TsuiMana/pull/103#discussion_r58298968"},"pull_request":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103","id":65048633,"html_url":"https://github.com/hyde2able/TsuiMana/pull/103","diff_url":"https://github.com/hyde2able/TsuiMana/pull/103.diff","patch_url":"https://github.com/hyde2able/TsuiMana/pull/103.patch","issue_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/103","number":103,"state":"open","locked":false,"title":"カラムの省エネ","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-02T20:07:34Z","updated_at":"2016-04-02T20:07:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4746822eed1fe8baaf23bee878a3a1731280920a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103/commits","review_comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103/comments","review_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/103/comments","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/8761b10b362ed2ea3a07541b2a9813d9c02ecfba","head":{"label":"hyde2able:feature/timedtext","ref":"feature/timedtext","sha":"8761b10b362ed2ea3a07541b2a9813d9c02ecfba","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"repo":{"id":46860235,"name":"TsuiMana","full_name":"hyde2able/TsuiMana","owner":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hyde2able/TsuiMana","description":"英語学習に役立つ動画のプラットフォーム（がんばるぞー）","fork":false,"url":"https://api.github.com/repos/hyde2able/TsuiMana","forks_url":"https://api.github.com/repos/hyde2able/TsuiMana/forks","keys_url":"https://api.github.com/repos/hyde2able/TsuiMana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyde2able/TsuiMana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyde2able/TsuiMana/teams","hooks_url":"https://api.github.com/repos/hyde2able/TsuiMana/hooks","issue_events_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/events{/number}","events_url":"https://api.github.com/repos/hyde2able/TsuiMana/events","assignees_url":"https://api.github.com/repos/hyde2able/TsuiMana/assignees{/user}","branches_url":"https://api.github.com/repos/hyde2able/TsuiMana/branches{/branch}","tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/tags","blobs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/{sha}","languages_url":"https://api.github.com/repos/hyde2able/TsuiMana/languages","stargazers_url":"https://api.github.com/repos/hyde2able/TsuiMana/stargazers","contributors_url":"https://api.github.com/repos/hyde2able/TsuiMana/contributors","subscribers_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscribers","subscription_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscription","commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyde2able/TsuiMana/contents/{+path}","compare_url":"https://api.github.com/repos/hyde2able/TsuiMana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyde2able/TsuiMana/merges","archive_url":"https://api.github.com/repos/hyde2able/TsuiMana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyde2able/TsuiMana/downloads","issues_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues{/number}","pulls_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls{/number}","milestones_url":"https://api.github.com/repos/hyde2able/TsuiMana/milestones{/number}","notifications_url":"https://api.github.com/repos/hyde2able/TsuiMana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyde2able/TsuiMana/labels{/name}","releases_url":"https://api.github.com/repos/hyde2able/TsuiMana/releases{/id}","deployments_url":"https://api.github.com/repos/hyde2able/TsuiMana/deployments","created_at":"2015-11-25T12:27:49Z","updated_at":"2016-03-16T11:31:26Z","pushed_at":"2016-04-02T20:07:35Z","git_url":"git://github.com/hyde2able/TsuiMana.git","ssh_url":"git@github.com:hyde2able/TsuiMana.git","clone_url":"https://github.com/hyde2able/TsuiMana.git","svn_url":"https://github.com/hyde2able/TsuiMana","homepage":"","size":35061,"stargazers_count":4,"watchers_count":4,"language":"Groff","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":4,"default_branch":"master"}},"base":{"label":"hyde2able:master","ref":"master","sha":"79e17943390aee75d07a44c8d03037a0a8b5a378","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"repo":{"id":46860235,"name":"TsuiMana","full_name":"hyde2able/TsuiMana","owner":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hyde2able/TsuiMana","description":"英語学習に役立つ動画のプラットフォーム（がんばるぞー）","fork":false,"url":"https://api.github.com/repos/hyde2able/TsuiMana","forks_url":"https://api.github.com/repos/hyde2able/TsuiMana/forks","keys_url":"https://api.github.com/repos/hyde2able/TsuiMana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyde2able/TsuiMana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyde2able/TsuiMana/teams","hooks_url":"https://api.github.com/repos/hyde2able/TsuiMana/hooks","issue_events_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/events{/number}","events_url":"https://api.github.com/repos/hyde2able/TsuiMana/events","assignees_url":"https://api.github.com/repos/hyde2able/TsuiMana/assignees{/user}","branches_url":"https://api.github.com/repos/hyde2able/TsuiMana/branches{/branch}","tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/tags","blobs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/{sha}","languages_url":"https://api.github.com/repos/hyde2able/TsuiMana/languages","stargazers_url":"https://api.github.com/repos/hyde2able/TsuiMana/stargazers","contributors_url":"https://api.github.com/repos/hyde2able/TsuiMana/contributors","subscribers_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscribers","subscription_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscription","commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyde2able/TsuiMana/contents/{+path}","compare_url":"https://api.github.com/repos/hyde2able/TsuiMana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyde2able/TsuiMana/merges","archive_url":"https://api.github.com/repos/hyde2able/TsuiMana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyde2able/TsuiMana/downloads","issues_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues{/number}","pulls_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls{/number}","milestones_url":"https://api.github.com/repos/hyde2able/TsuiMana/milestones{/number}","notifications_url":"https://api.github.com/repos/hyde2able/TsuiMana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyde2able/TsuiMana/labels{/name}","releases_url":"https://api.github.com/repos/hyde2able/TsuiMana/releases{/id}","deployments_url":"https://api.github.com/repos/hyde2able/TsuiMana/deployments","created_at":"2015-11-25T12:27:49Z","updated_at":"2016-03-16T11:31:26Z","pushed_at":"2016-04-02T20:07:35Z","git_url":"git://github.com/hyde2able/TsuiMana.git","ssh_url":"git@github.com:hyde2able/TsuiMana.git","clone_url":"https://github.com/hyde2able/TsuiMana.git","svn_url":"https://github.com/hyde2able/TsuiMana","homepage":"","size":35061,"stargazers_count":4,"watchers_count":4,"language":"Groff","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103"},"html":{"href":"https://github.com/hyde2able/TsuiMana/pull/103"},"issue":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/issues/103"},"comments":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/8761b10b362ed2ea3a07541b2a9813d9c02ecfba"}}}}