{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5","id":99828535,"html_url":"https://github.com/say8425/Rails-Angular-Study/pull/5","diff_url":"https://github.com/say8425/Rails-Angular-Study/pull/5.diff","patch_url":"https://github.com/say8425/Rails-Angular-Study/pull/5.patch","issue_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/5","number":5,"state":"closed","locked":false,"title":"Chapter3 - AR에서 constraints 사용 할 수 있게 만듬","user":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"body":"[mv-core](https://github.com/vprokopchuk256/mv-core) gem을 사용해서 만듬\r\n[format](https://github.com/vprokopchuk256/mv-postgresql#format)을 사용해서 validation을 체크함. 정규식은 sql 정규식 사용. 루비 정규식 사용시 에러 발생\r\n\r\n","created_at":"2017-01-01T18:53:30Z","updated_at":"2017-01-01T18:53:34Z","closed_at":"2017-01-01T18:53:34Z","merged_at":"2017-01-01T18:53:34Z","merge_commit_sha":"cf5cc7cb5afc11d35306b60456a9f137535a8422","assignee":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"assignees":[{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5/commits","review_comments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5/comments","review_comment_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/comments{/number}","comments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/5/comments","statuses_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/statuses/b1ea8ffdb5221e84bab8ea7a88d503489b97790e","head":{"label":"say8425:chapter3/use-constraints-ar","ref":"chapter3/use-constraints-ar","sha":"b1ea8ffdb5221e84bab8ea7a88d503489b97790e","user":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"repo":{"id":77675349,"name":"Rails-Angular-Study","full_name":"say8425/Rails-Angular-Study","owner":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/say8425/Rails-Angular-Study","description":null,"fork":false,"url":"https://api.github.com/repos/say8425/Rails-Angular-Study","forks_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/forks","keys_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/teams","hooks_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/hooks","issue_events_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/events{/number}","events_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/events","assignees_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/assignees{/user}","branches_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/branches{/branch}","tags_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/tags","blobs_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/refs{/sha}","trees_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/statuses/{sha}","languages_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/languages","stargazers_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/stargazers","contributors_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/contributors","subscribers_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/subscribers","subscription_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/subscription","commits_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/commits{/sha}","git_commits_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/commits{/sha}","comments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/comments{/number}","issue_comment_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/comments{/number}","contents_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/contents/{+path}","compare_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/merges","archive_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/downloads","issues_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues{/number}","pulls_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls{/number}","milestones_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/milestones{/number}","notifications_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/labels{/name}","releases_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/releases{/id}","deployments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/deployments","created_at":"2016-12-30T09:11:32Z","updated_at":"2016-12-30T09:49:39Z","pushed_at":"2017-01-01T18:53:34Z","git_url":"git://github.com/say8425/Rails-Angular-Study.git","ssh_url":"git@github.com:say8425/Rails-Angular-Study.git","clone_url":"https://github.com/say8425/Rails-Angular-Study.git","svn_url":"https://github.com/say8425/Rails-Angular-Study","homepage":"https://pragprog.com/book/dcbang2/rails-angular-postgres-and-bootstrap-second-edition","size":74,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"say8425:master","ref":"master","sha":"f7481eff82b836680dc75e06e331f15eff18cfc4","user":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"repo":{"id":77675349,"name":"Rails-Angular-Study","full_name":"say8425/Rails-Angular-Study","owner":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/say8425/Rails-Angular-Study","description":null,"fork":false,"url":"https://api.github.com/repos/say8425/Rails-Angular-Study","forks_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/forks","keys_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/teams","hooks_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/hooks","issue_events_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/events{/number}","events_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/events","assignees_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/assignees{/user}","branches_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/branches{/branch}","tags_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/tags","blobs_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/refs{/sha}","trees_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/statuses/{sha}","languages_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/languages","stargazers_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/stargazers","contributors_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/contributors","subscribers_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/subscribers","subscription_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/subscription","commits_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/commits{/sha}","git_commits_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/git/commits{/sha}","comments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/comments{/number}","issue_comment_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/comments{/number}","contents_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/contents/{+path}","compare_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/merges","archive_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/downloads","issues_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues{/number}","pulls_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls{/number}","milestones_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/milestones{/number}","notifications_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/labels{/name}","releases_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/releases{/id}","deployments_url":"https://api.github.com/repos/say8425/Rails-Angular-Study/deployments","created_at":"2016-12-30T09:11:32Z","updated_at":"2016-12-30T09:49:39Z","pushed_at":"2017-01-01T18:53:34Z","git_url":"git://github.com/say8425/Rails-Angular-Study.git","ssh_url":"git@github.com:say8425/Rails-Angular-Study.git","clone_url":"https://github.com/say8425/Rails-Angular-Study.git","svn_url":"https://github.com/say8425/Rails-Angular-Study","homepage":"https://pragprog.com/book/dcbang2/rails-angular-postgres-and-bootstrap-second-edition","size":74,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5"},"html":{"href":"https://github.com/say8425/Rails-Angular-Study/pull/5"},"issue":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/5"},"comments":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/say8425/Rails-Angular-Study/statuses/b1ea8ffdb5221e84bab8ea7a88d503489b97790e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"say8425","id":3258867,"avatar_url":"https://avatars.githubusercontent.com/u/3258867?v=3","gravatar_id":"","url":"https://api.github.com/users/say8425","html_url":"https://github.com/say8425","followers_url":"https://api.github.com/users/say8425/followers","following_url":"https://api.github.com/users/say8425/following{/other_user}","gists_url":"https://api.github.com/users/say8425/gists{/gist_id}","starred_url":"https://api.github.com/users/say8425/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/say8425/subscriptions","organizations_url":"https://api.github.com/users/say8425/orgs","repos_url":"https://api.github.com/users/say8425/repos","events_url":"https://api.github.com/users/say8425/events{/privacy}","received_events_url":"https://api.github.com/users/say8425/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":74,"deletions":155,"changed_files":6}}
{"actor":{"display_login":"say8425"}}