{"action":"created","comment":{"url":"https://api.github.com/repos/mia81514/weddday/pulls/comments/44778858","id":44778858,"diff_hunk":"@@ -0,0 +1,25 @@\n+class AttendeeForm < ActiveRecord::Base\n+  belongs_to :user","path":"app/models/attendee_form.rb","position":2,"original_position":2,"commit_id":"76972765a110b5022fe68c7bd0de5405e303bf08","original_commit_id":"76972765a110b5022fe68c7bd0de5405e303bf08","user":{"login":"mia81514","id":5423351,"avatar_url":"https://avatars.githubusercontent.com/u/5423351?v=3","gravatar_id":"","url":"https://api.github.com/users/mia81514","html_url":"https://github.com/mia81514","followers_url":"https://api.github.com/users/mia81514/followers","following_url":"https://api.github.com/users/mia81514/following{/other_user}","gists_url":"https://api.github.com/users/mia81514/gists{/gist_id}","starred_url":"https://api.github.com/users/mia81514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mia81514/subscriptions","organizations_url":"https://api.github.com/users/mia81514/orgs","repos_url":"https://api.github.com/users/mia81514/repos","events_url":"https://api.github.com/users/mia81514/events{/privacy}","received_events_url":"https://api.github.com/users/mia81514/received_events","type":"User","site_admin":false},"body":"蛤我本來是想說，AttendeeForm belongs to 某 event耶\r\n這樣如果他兩個event要不同 form怎麼辦？","created_at":"2015-11-13T12:53:44Z","updated_at":"2015-11-13T12:53:44Z","html_url":"https://github.com/mia81514/weddday/pull/4#discussion_r44778858","pull_request_url":"https://api.github.com/repos/mia81514/weddday/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/comments/44778858"},"html":{"href":"https://github.com/mia81514/weddday/pull/4#discussion_r44778858"},"pull_request":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/mia81514/weddday/pulls/4","id":50404361,"html_url":"https://github.com/mia81514/weddday/pull/4","diff_url":"https://github.com/mia81514/weddday/pull/4.diff","patch_url":"https://github.com/mia81514/weddday/pull/4.patch","issue_url":"https://api.github.com/repos/mia81514/weddday/issues/4","number":4,"state":"open","locked":false,"title":"參加表單資料結構","user":{"login":"lsortnj","id":2889438,"avatar_url":"https://avatars.githubusercontent.com/u/2889438?v=3","gravatar_id":"","url":"https://api.github.com/users/lsortnj","html_url":"https://github.com/lsortnj","followers_url":"https://api.github.com/users/lsortnj/followers","following_url":"https://api.github.com/users/lsortnj/following{/other_user}","gists_url":"https://api.github.com/users/lsortnj/gists{/gist_id}","starred_url":"https://api.github.com/users/lsortnj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsortnj/subscriptions","organizations_url":"https://api.github.com/users/lsortnj/orgs","repos_url":"https://api.github.com/users/lsortnj/repos","events_url":"https://api.github.com/users/lsortnj/events{/privacy}","received_events_url":"https://api.github.com/users/lsortnj/received_events","type":"User","site_admin":false},"body":"參加表單AttendeeForm(問卷本人)\r\n``` ruby\r\nhas_many: AttendeeFormQuestion # 新人可以新增自己想問的問題(填充，單選，多選等)\r\nhas_many: GuestReply   # 親友們填寫表單的資料，包含出不出席等資訊\r\nhas_many: GuestGroup  # 新人自建分類用Ex:女方高中同學\r\n```","created_at":"2015-11-11T16:34:30Z","updated_at":"2015-11-13T12:53:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91cf99b683aca2b10f8b27cda84967fbd88cc397","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mia81514/weddday/pulls/4/commits","review_comments_url":"https://api.github.com/repos/mia81514/weddday/pulls/4/comments","review_comment_url":"https://api.github.com/repos/mia81514/weddday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mia81514/weddday/issues/4/comments","statuses_url":"https://api.github.com/repos/mia81514/weddday/statuses/76972765a110b5022fe68c7bd0de5405e303bf08","head":{"label":"mia81514:feature/attendee_form","ref":"feature/attendee_form","sha":"76972765a110b5022fe68c7bd0de5405e303bf08","user":{"login":"mia81514","id":5423351,"avatar_url":"https://avatars.githubusercontent.com/u/5423351?v=3","gravatar_id":"","url":"https://api.github.com/users/mia81514","html_url":"https://github.com/mia81514","followers_url":"https://api.github.com/users/mia81514/followers","following_url":"https://api.github.com/users/mia81514/following{/other_user}","gists_url":"https://api.github.com/users/mia81514/gists{/gist_id}","starred_url":"https://api.github.com/users/mia81514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mia81514/subscriptions","organizations_url":"https://api.github.com/users/mia81514/orgs","repos_url":"https://api.github.com/users/mia81514/repos","events_url":"https://api.github.com/users/mia81514/events{/privacy}","received_events_url":"https://api.github.com/users/mia81514/received_events","type":"User","site_admin":false},"repo":{"id":45692726,"name":"weddday","full_name":"mia81514/weddday","owner":{"login":"mia81514","id":5423351,"avatar_url":"https://avatars.githubusercontent.com/u/5423351?v=3","gravatar_id":"","url":"https://api.github.com/users/mia81514","html_url":"https://github.com/mia81514","followers_url":"https://api.github.com/users/mia81514/followers","following_url":"https://api.github.com/users/mia81514/following{/other_user}","gists_url":"https://api.github.com/users/mia81514/gists{/gist_id}","starred_url":"https://api.github.com/users/mia81514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mia81514/subscriptions","organizations_url":"https://api.github.com/users/mia81514/orgs","repos_url":"https://api.github.com/users/mia81514/repos","events_url":"https://api.github.com/users/mia81514/events{/privacy}","received_events_url":"https://api.github.com/users/mia81514/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mia81514/weddday","description":"","fork":false,"url":"https://api.github.com/repos/mia81514/weddday","forks_url":"https://api.github.com/repos/mia81514/weddday/forks","keys_url":"https://api.github.com/repos/mia81514/weddday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mia81514/weddday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mia81514/weddday/teams","hooks_url":"https://api.github.com/repos/mia81514/weddday/hooks","issue_events_url":"https://api.github.com/repos/mia81514/weddday/issues/events{/number}","events_url":"https://api.github.com/repos/mia81514/weddday/events","assignees_url":"https://api.github.com/repos/mia81514/weddday/assignees{/user}","branches_url":"https://api.github.com/repos/mia81514/weddday/branches{/branch}","tags_url":"https://api.github.com/repos/mia81514/weddday/tags","blobs_url":"https://api.github.com/repos/mia81514/weddday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mia81514/weddday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mia81514/weddday/git/refs{/sha}","trees_url":"https://api.github.com/repos/mia81514/weddday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mia81514/weddday/statuses/{sha}","languages_url":"https://api.github.com/repos/mia81514/weddday/languages","stargazers_url":"https://api.github.com/repos/mia81514/weddday/stargazers","contributors_url":"https://api.github.com/repos/mia81514/weddday/contributors","subscribers_url":"https://api.github.com/repos/mia81514/weddday/subscribers","subscription_url":"https://api.github.com/repos/mia81514/weddday/subscription","commits_url":"https://api.github.com/repos/mia81514/weddday/commits{/sha}","git_commits_url":"https://api.github.com/repos/mia81514/weddday/git/commits{/sha}","comments_url":"https://api.github.com/repos/mia81514/weddday/comments{/number}","issue_comment_url":"https://api.github.com/repos/mia81514/weddday/issues/comments{/number}","contents_url":"https://api.github.com/repos/mia81514/weddday/contents/{+path}","compare_url":"https://api.github.com/repos/mia81514/weddday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mia81514/weddday/merges","archive_url":"https://api.github.com/repos/mia81514/weddday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mia81514/weddday/downloads","issues_url":"https://api.github.com/repos/mia81514/weddday/issues{/number}","pulls_url":"https://api.github.com/repos/mia81514/weddday/pulls{/number}","milestones_url":"https://api.github.com/repos/mia81514/weddday/milestones{/number}","notifications_url":"https://api.github.com/repos/mia81514/weddday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mia81514/weddday/labels{/name}","releases_url":"https://api.github.com/repos/mia81514/weddday/releases{/id}","created_at":"2015-11-06T16:17:41Z","updated_at":"2015-11-06T16:20:25Z","pushed_at":"2015-11-13T12:51:05Z","git_url":"git://github.com/mia81514/weddday.git","ssh_url":"git@github.com:mia81514/weddday.git","clone_url":"https://github.com/mia81514/weddday.git","svn_url":"https://github.com/mia81514/weddday","homepage":null,"size":0,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"mia81514:master","ref":"master","sha":"708780eef3bfc37b39c9315c745a1212a2817680","user":{"login":"mia81514","id":5423351,"avatar_url":"https://avatars.githubusercontent.com/u/5423351?v=3","gravatar_id":"","url":"https://api.github.com/users/mia81514","html_url":"https://github.com/mia81514","followers_url":"https://api.github.com/users/mia81514/followers","following_url":"https://api.github.com/users/mia81514/following{/other_user}","gists_url":"https://api.github.com/users/mia81514/gists{/gist_id}","starred_url":"https://api.github.com/users/mia81514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mia81514/subscriptions","organizations_url":"https://api.github.com/users/mia81514/orgs","repos_url":"https://api.github.com/users/mia81514/repos","events_url":"https://api.github.com/users/mia81514/events{/privacy}","received_events_url":"https://api.github.com/users/mia81514/received_events","type":"User","site_admin":false},"repo":{"id":45692726,"name":"weddday","full_name":"mia81514/weddday","owner":{"login":"mia81514","id":5423351,"avatar_url":"https://avatars.githubusercontent.com/u/5423351?v=3","gravatar_id":"","url":"https://api.github.com/users/mia81514","html_url":"https://github.com/mia81514","followers_url":"https://api.github.com/users/mia81514/followers","following_url":"https://api.github.com/users/mia81514/following{/other_user}","gists_url":"https://api.github.com/users/mia81514/gists{/gist_id}","starred_url":"https://api.github.com/users/mia81514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mia81514/subscriptions","organizations_url":"https://api.github.com/users/mia81514/orgs","repos_url":"https://api.github.com/users/mia81514/repos","events_url":"https://api.github.com/users/mia81514/events{/privacy}","received_events_url":"https://api.github.com/users/mia81514/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mia81514/weddday","description":"","fork":false,"url":"https://api.github.com/repos/mia81514/weddday","forks_url":"https://api.github.com/repos/mia81514/weddday/forks","keys_url":"https://api.github.com/repos/mia81514/weddday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mia81514/weddday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mia81514/weddday/teams","hooks_url":"https://api.github.com/repos/mia81514/weddday/hooks","issue_events_url":"https://api.github.com/repos/mia81514/weddday/issues/events{/number}","events_url":"https://api.github.com/repos/mia81514/weddday/events","assignees_url":"https://api.github.com/repos/mia81514/weddday/assignees{/user}","branches_url":"https://api.github.com/repos/mia81514/weddday/branches{/branch}","tags_url":"https://api.github.com/repos/mia81514/weddday/tags","blobs_url":"https://api.github.com/repos/mia81514/weddday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mia81514/weddday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mia81514/weddday/git/refs{/sha}","trees_url":"https://api.github.com/repos/mia81514/weddday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mia81514/weddday/statuses/{sha}","languages_url":"https://api.github.com/repos/mia81514/weddday/languages","stargazers_url":"https://api.github.com/repos/mia81514/weddday/stargazers","contributors_url":"https://api.github.com/repos/mia81514/weddday/contributors","subscribers_url":"https://api.github.com/repos/mia81514/weddday/subscribers","subscription_url":"https://api.github.com/repos/mia81514/weddday/subscription","commits_url":"https://api.github.com/repos/mia81514/weddday/commits{/sha}","git_commits_url":"https://api.github.com/repos/mia81514/weddday/git/commits{/sha}","comments_url":"https://api.github.com/repos/mia81514/weddday/comments{/number}","issue_comment_url":"https://api.github.com/repos/mia81514/weddday/issues/comments{/number}","contents_url":"https://api.github.com/repos/mia81514/weddday/contents/{+path}","compare_url":"https://api.github.com/repos/mia81514/weddday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mia81514/weddday/merges","archive_url":"https://api.github.com/repos/mia81514/weddday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mia81514/weddday/downloads","issues_url":"https://api.github.com/repos/mia81514/weddday/issues{/number}","pulls_url":"https://api.github.com/repos/mia81514/weddday/pulls{/number}","milestones_url":"https://api.github.com/repos/mia81514/weddday/milestones{/number}","notifications_url":"https://api.github.com/repos/mia81514/weddday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mia81514/weddday/labels{/name}","releases_url":"https://api.github.com/repos/mia81514/weddday/releases{/id}","created_at":"2015-11-06T16:17:41Z","updated_at":"2015-11-06T16:20:25Z","pushed_at":"2015-11-13T12:51:05Z","git_url":"git://github.com/mia81514/weddday.git","ssh_url":"git@github.com:mia81514/weddday.git","clone_url":"https://github.com/mia81514/weddday.git","svn_url":"https://github.com/mia81514/weddday","homepage":null,"size":0,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/4"},"html":{"href":"https://github.com/mia81514/weddday/pull/4"},"issue":{"href":"https://api.github.com/repos/mia81514/weddday/issues/4"},"comments":{"href":"https://api.github.com/repos/mia81514/weddday/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mia81514/weddday/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/mia81514/weddday/statuses/76972765a110b5022fe68c7bd0de5405e303bf08"}}}}