{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21","id":48849509,"html_url":"https://github.com/shoheikitabatake/rails_accounts/pull/21","diff_url":"https://github.com/shoheikitabatake/rails_accounts/pull/21.diff","patch_url":"https://github.com/shoheikitabatake/rails_accounts/pull/21.patch","issue_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/21","number":21,"state":"open","locked":false,"title":"[fix]valdation追加","user":{"login":"shoheikitabatake","id":11205591,"avatar_url":"https://avatars.githubusercontent.com/u/11205591?v=3","gravatar_id":"","url":"https://api.github.com/users/shoheikitabatake","html_url":"https://github.com/shoheikitabatake","followers_url":"https://api.github.com/users/shoheikitabatake/followers","following_url":"https://api.github.com/users/shoheikitabatake/following{/other_user}","gists_url":"https://api.github.com/users/shoheikitabatake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoheikitabatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoheikitabatake/subscriptions","organizations_url":"https://api.github.com/users/shoheikitabatake/orgs","repos_url":"https://api.github.com/users/shoheikitabatake/repos","events_url":"https://api.github.com/users/shoheikitabatake/events{/privacy}","received_events_url":"https://api.github.com/users/shoheikitabatake/received_events","type":"User","site_admin":false},"body":"+ 費目未登録時に科目登録へ行けなくする\r\n - 費目登録へリダイレクト\r\n+ 科目未登録時に仕訳入力へ行けなくする\r\n - 設定ページへリダイレクト\r\n+ 費目、科目の登録、編集後はindexへリダイレクトする\r\n - 修正前はshowだった","created_at":"2015-10-27T10:04:03Z","updated_at":"2015-10-27T10:04:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21/commits","review_comments_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21/comments","review_comment_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/21/comments","statuses_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/statuses/cade37c53f397a1a093edc6ccea2c3c7e7b3ad30","head":{"label":"shoheikitabatake:fix/add-validation","ref":"fix/add-validation","sha":"cade37c53f397a1a093edc6ccea2c3c7e7b3ad30","user":{"login":"shoheikitabatake","id":11205591,"avatar_url":"https://avatars.githubusercontent.com/u/11205591?v=3","gravatar_id":"","url":"https://api.github.com/users/shoheikitabatake","html_url":"https://github.com/shoheikitabatake","followers_url":"https://api.github.com/users/shoheikitabatake/followers","following_url":"https://api.github.com/users/shoheikitabatake/following{/other_user}","gists_url":"https://api.github.com/users/shoheikitabatake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoheikitabatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoheikitabatake/subscriptions","organizations_url":"https://api.github.com/users/shoheikitabatake/orgs","repos_url":"https://api.github.com/users/shoheikitabatake/repos","events_url":"https://api.github.com/users/shoheikitabatake/events{/privacy}","received_events_url":"https://api.github.com/users/shoheikitabatake/received_events","type":"User","site_admin":false},"repo":{"id":42570217,"name":"rails_accounts","full_name":"shoheikitabatake/rails_accounts","owner":{"login":"shoheikitabatake","id":11205591,"avatar_url":"https://avatars.githubusercontent.com/u/11205591?v=3","gravatar_id":"","url":"https://api.github.com/users/shoheikitabatake","html_url":"https://github.com/shoheikitabatake","followers_url":"https://api.github.com/users/shoheikitabatake/followers","following_url":"https://api.github.com/users/shoheikitabatake/following{/other_user}","gists_url":"https://api.github.com/users/shoheikitabatake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoheikitabatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoheikitabatake/subscriptions","organizations_url":"https://api.github.com/users/shoheikitabatake/orgs","repos_url":"https://api.github.com/users/shoheikitabatake/repos","events_url":"https://api.github.com/users/shoheikitabatake/events{/privacy}","received_events_url":"https://api.github.com/users/shoheikitabatake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shoheikitabatake/rails_accounts","description":"","fork":false,"url":"https://api.github.com/repos/shoheikitabatake/rails_accounts","forks_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/forks","keys_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/teams","hooks_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/hooks","issue_events_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/events{/number}","events_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/events","assignees_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/assignees{/user}","branches_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/branches{/branch}","tags_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/tags","blobs_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/statuses/{sha}","languages_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/languages","stargazers_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/stargazers","contributors_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/contributors","subscribers_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/subscribers","subscription_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/subscription","commits_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/contents/{+path}","compare_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/merges","archive_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/downloads","issues_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues{/number}","pulls_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls{/number}","milestones_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/milestones{/number}","notifications_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/labels{/name}","releases_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/releases{/id}","created_at":"2015-09-16T06:53:14Z","updated_at":"2015-10-22T08:53:11Z","pushed_at":"2015-10-27T10:04:04Z","git_url":"git://github.com/shoheikitabatake/rails_accounts.git","ssh_url":"git@github.com:shoheikitabatake/rails_accounts.git","clone_url":"https://github.com/shoheikitabatake/rails_accounts.git","svn_url":"https://github.com/shoheikitabatake/rails_accounts","homepage":null,"size":380,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"shoheikitabatake:master","ref":"master","sha":"198934abeaf31e41e8ad14714ae0bd74c2931684","user":{"login":"shoheikitabatake","id":11205591,"avatar_url":"https://avatars.githubusercontent.com/u/11205591?v=3","gravatar_id":"","url":"https://api.github.com/users/shoheikitabatake","html_url":"https://github.com/shoheikitabatake","followers_url":"https://api.github.com/users/shoheikitabatake/followers","following_url":"https://api.github.com/users/shoheikitabatake/following{/other_user}","gists_url":"https://api.github.com/users/shoheikitabatake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoheikitabatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoheikitabatake/subscriptions","organizations_url":"https://api.github.com/users/shoheikitabatake/orgs","repos_url":"https://api.github.com/users/shoheikitabatake/repos","events_url":"https://api.github.com/users/shoheikitabatake/events{/privacy}","received_events_url":"https://api.github.com/users/shoheikitabatake/received_events","type":"User","site_admin":false},"repo":{"id":42570217,"name":"rails_accounts","full_name":"shoheikitabatake/rails_accounts","owner":{"login":"shoheikitabatake","id":11205591,"avatar_url":"https://avatars.githubusercontent.com/u/11205591?v=3","gravatar_id":"","url":"https://api.github.com/users/shoheikitabatake","html_url":"https://github.com/shoheikitabatake","followers_url":"https://api.github.com/users/shoheikitabatake/followers","following_url":"https://api.github.com/users/shoheikitabatake/following{/other_user}","gists_url":"https://api.github.com/users/shoheikitabatake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoheikitabatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoheikitabatake/subscriptions","organizations_url":"https://api.github.com/users/shoheikitabatake/orgs","repos_url":"https://api.github.com/users/shoheikitabatake/repos","events_url":"https://api.github.com/users/shoheikitabatake/events{/privacy}","received_events_url":"https://api.github.com/users/shoheikitabatake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shoheikitabatake/rails_accounts","description":"","fork":false,"url":"https://api.github.com/repos/shoheikitabatake/rails_accounts","forks_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/forks","keys_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/teams","hooks_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/hooks","issue_events_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/events{/number}","events_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/events","assignees_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/assignees{/user}","branches_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/branches{/branch}","tags_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/tags","blobs_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/statuses/{sha}","languages_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/languages","stargazers_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/stargazers","contributors_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/contributors","subscribers_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/subscribers","subscription_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/subscription","commits_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/contents/{+path}","compare_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/merges","archive_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/downloads","issues_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues{/number}","pulls_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls{/number}","milestones_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/milestones{/number}","notifications_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/labels{/name}","releases_url":"https://api.github.com/repos/shoheikitabatake/rails_accounts/releases{/id}","created_at":"2015-09-16T06:53:14Z","updated_at":"2015-10-22T08:53:11Z","pushed_at":"2015-10-27T10:04:04Z","git_url":"git://github.com/shoheikitabatake/rails_accounts.git","ssh_url":"git@github.com:shoheikitabatake/rails_accounts.git","clone_url":"https://github.com/shoheikitabatake/rails_accounts.git","svn_url":"https://github.com/shoheikitabatake/rails_accounts","homepage":null,"size":380,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21"},"html":{"href":"https://github.com/shoheikitabatake/rails_accounts/pull/21"},"issue":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/21"},"comments":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/shoheikitabatake/rails_accounts/statuses/cade37c53f397a1a093edc6ccea2c3c7e7b3ad30"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":25,"changed_files":12}}