{"action":"opened","number":116,"pull_request":{"url":"https://api.github.com/repos/panterch/future_kids/pulls/116","id":41717545,"html_url":"https://github.com/panterch/future_kids/pull/116","diff_url":"https://github.com/panterch/future_kids/pull/116.diff","patch_url":"https://github.com/panterch/future_kids/pull/116.patch","issue_url":"https://api.github.com/repos/panterch/future_kids/issues/116","number":116,"state":"open","locked":false,"title":"Feat/m2m principals fixes and tests","user":{"login":"skmp","id":393266,"avatar_url":"https://avatars.githubusercontent.com/u/393266?v=3","gravatar_id":"","url":"https://api.github.com/users/skmp","html_url":"https://github.com/skmp","followers_url":"https://api.github.com/users/skmp/followers","following_url":"https://api.github.com/users/skmp/following{/other_user}","gists_url":"https://api.github.com/users/skmp/gists{/gist_id}","starred_url":"https://api.github.com/users/skmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skmp/subscriptions","organizations_url":"https://api.github.com/users/skmp/orgs","repos_url":"https://api.github.com/users/skmp/repos","events_url":"https://api.github.com/users/skmp/events{/privacy}","received_events_url":"https://api.github.com/users/skmp/received_events","type":"User","site_admin":false},"body":"I'm not sure the many-to-many test is worth it. How about using shoulda instead?","created_at":"2015-08-05T19:40:27Z","updated_at":"2015-08-05T19:40:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/panterch/future_kids/pulls/116/commits","review_comments_url":"https://api.github.com/repos/panterch/future_kids/pulls/116/comments","review_comment_url":"https://api.github.com/repos/panterch/future_kids/pulls/comments{/number}","comments_url":"https://api.github.com/repos/panterch/future_kids/issues/116/comments","statuses_url":"https://api.github.com/repos/panterch/future_kids/statuses/54deed0feec7d453605527d1da2642692648fbf5","head":{"label":"skmp:feat/m2m-principals-fixes-and-tests","ref":"feat/m2m-principals-fixes-and-tests","sha":"54deed0feec7d453605527d1da2642692648fbf5","user":{"login":"skmp","id":393266,"avatar_url":"https://avatars.githubusercontent.com/u/393266?v=3","gravatar_id":"","url":"https://api.github.com/users/skmp","html_url":"https://github.com/skmp","followers_url":"https://api.github.com/users/skmp/followers","following_url":"https://api.github.com/users/skmp/following{/other_user}","gists_url":"https://api.github.com/users/skmp/gists{/gist_id}","starred_url":"https://api.github.com/users/skmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skmp/subscriptions","organizations_url":"https://api.github.com/users/skmp/orgs","repos_url":"https://api.github.com/users/skmp/repos","events_url":"https://api.github.com/users/skmp/events{/privacy}","received_events_url":"https://api.github.com/users/skmp/received_events","type":"User","site_admin":false},"repo":{"id":39009647,"name":"future_kids","full_name":"skmp/future_kids","owner":{"login":"skmp","id":393266,"avatar_url":"https://avatars.githubusercontent.com/u/393266?v=3","gravatar_id":"","url":"https://api.github.com/users/skmp","html_url":"https://github.com/skmp","followers_url":"https://api.github.com/users/skmp/followers","following_url":"https://api.github.com/users/skmp/following{/other_user}","gists_url":"https://api.github.com/users/skmp/gists{/gist_id}","starred_url":"https://api.github.com/users/skmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skmp/subscriptions","organizations_url":"https://api.github.com/users/skmp/orgs","repos_url":"https://api.github.com/users/skmp/repos","events_url":"https://api.github.com/users/skmp/events{/privacy}","received_events_url":"https://api.github.com/users/skmp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skmp/future_kids","description":"Future Kids fördert Primarschüler/innen, welche zu Hause bei schulischen Aufgaben kaum oder keine Unterstützung erhalten.","fork":true,"url":"https://api.github.com/repos/skmp/future_kids","forks_url":"https://api.github.com/repos/skmp/future_kids/forks","keys_url":"https://api.github.com/repos/skmp/future_kids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skmp/future_kids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skmp/future_kids/teams","hooks_url":"https://api.github.com/repos/skmp/future_kids/hooks","issue_events_url":"https://api.github.com/repos/skmp/future_kids/issues/events{/number}","events_url":"https://api.github.com/repos/skmp/future_kids/events","assignees_url":"https://api.github.com/repos/skmp/future_kids/assignees{/user}","branches_url":"https://api.github.com/repos/skmp/future_kids/branches{/branch}","tags_url":"https://api.github.com/repos/skmp/future_kids/tags","blobs_url":"https://api.github.com/repos/skmp/future_kids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skmp/future_kids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skmp/future_kids/git/refs{/sha}","trees_url":"https://api.github.com/repos/skmp/future_kids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skmp/future_kids/statuses/{sha}","languages_url":"https://api.github.com/repos/skmp/future_kids/languages","stargazers_url":"https://api.github.com/repos/skmp/future_kids/stargazers","contributors_url":"https://api.github.com/repos/skmp/future_kids/contributors","subscribers_url":"https://api.github.com/repos/skmp/future_kids/subscribers","subscription_url":"https://api.github.com/repos/skmp/future_kids/subscription","commits_url":"https://api.github.com/repos/skmp/future_kids/commits{/sha}","git_commits_url":"https://api.github.com/repos/skmp/future_kids/git/commits{/sha}","comments_url":"https://api.github.com/repos/skmp/future_kids/comments{/number}","issue_comment_url":"https://api.github.com/repos/skmp/future_kids/issues/comments{/number}","contents_url":"https://api.github.com/repos/skmp/future_kids/contents/{+path}","compare_url":"https://api.github.com/repos/skmp/future_kids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skmp/future_kids/merges","archive_url":"https://api.github.com/repos/skmp/future_kids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skmp/future_kids/downloads","issues_url":"https://api.github.com/repos/skmp/future_kids/issues{/number}","pulls_url":"https://api.github.com/repos/skmp/future_kids/pulls{/number}","milestones_url":"https://api.github.com/repos/skmp/future_kids/milestones{/number}","notifications_url":"https://api.github.com/repos/skmp/future_kids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skmp/future_kids/labels{/name}","releases_url":"https://api.github.com/repos/skmp/future_kids/releases{/id}","created_at":"2015-07-13T12:04:48Z","updated_at":"2015-07-13T12:04:48Z","pushed_at":"2015-08-05T19:38:57Z","git_url":"git://github.com/skmp/future_kids.git","ssh_url":"git@github.com:skmp/future_kids.git","clone_url":"https://github.com/skmp/future_kids.git","svn_url":"https://github.com/skmp/future_kids","homepage":"http://www.stadt-zuerich.ch/content/aoz/de/index/integration/future_kids/angebot.html","size":3872,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"panterch:master","ref":"master","sha":"4072ef3ba877caf6740f3070cd9332000ebc7309","user":{"login":"panterch","id":15120,"avatar_url":"https://avatars.githubusercontent.com/u/15120?v=3","gravatar_id":"","url":"https://api.github.com/users/panterch","html_url":"https://github.com/panterch","followers_url":"https://api.github.com/users/panterch/followers","following_url":"https://api.github.com/users/panterch/following{/other_user}","gists_url":"https://api.github.com/users/panterch/gists{/gist_id}","starred_url":"https://api.github.com/users/panterch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panterch/subscriptions","organizations_url":"https://api.github.com/users/panterch/orgs","repos_url":"https://api.github.com/users/panterch/repos","events_url":"https://api.github.com/users/panterch/events{/privacy}","received_events_url":"https://api.github.com/users/panterch/received_events","type":"User","site_admin":false},"repo":{"id":1726697,"name":"future_kids","full_name":"panterch/future_kids","owner":{"login":"panterch","id":15120,"avatar_url":"https://avatars.githubusercontent.com/u/15120?v=3","gravatar_id":"","url":"https://api.github.com/users/panterch","html_url":"https://github.com/panterch","followers_url":"https://api.github.com/users/panterch/followers","following_url":"https://api.github.com/users/panterch/following{/other_user}","gists_url":"https://api.github.com/users/panterch/gists{/gist_id}","starred_url":"https://api.github.com/users/panterch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panterch/subscriptions","organizations_url":"https://api.github.com/users/panterch/orgs","repos_url":"https://api.github.com/users/panterch/repos","events_url":"https://api.github.com/users/panterch/events{/privacy}","received_events_url":"https://api.github.com/users/panterch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/panterch/future_kids","description":"Future Kids fördert Primarschüler/innen, welche zu Hause bei schulischen Aufgaben kaum oder keine Unterstützung erhalten.","fork":false,"url":"https://api.github.com/repos/panterch/future_kids","forks_url":"https://api.github.com/repos/panterch/future_kids/forks","keys_url":"https://api.github.com/repos/panterch/future_kids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/panterch/future_kids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/panterch/future_kids/teams","hooks_url":"https://api.github.com/repos/panterch/future_kids/hooks","issue_events_url":"https://api.github.com/repos/panterch/future_kids/issues/events{/number}","events_url":"https://api.github.com/repos/panterch/future_kids/events","assignees_url":"https://api.github.com/repos/panterch/future_kids/assignees{/user}","branches_url":"https://api.github.com/repos/panterch/future_kids/branches{/branch}","tags_url":"https://api.github.com/repos/panterch/future_kids/tags","blobs_url":"https://api.github.com/repos/panterch/future_kids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/panterch/future_kids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/panterch/future_kids/git/refs{/sha}","trees_url":"https://api.github.com/repos/panterch/future_kids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/panterch/future_kids/statuses/{sha}","languages_url":"https://api.github.com/repos/panterch/future_kids/languages","stargazers_url":"https://api.github.com/repos/panterch/future_kids/stargazers","contributors_url":"https://api.github.com/repos/panterch/future_kids/contributors","subscribers_url":"https://api.github.com/repos/panterch/future_kids/subscribers","subscription_url":"https://api.github.com/repos/panterch/future_kids/subscription","commits_url":"https://api.github.com/repos/panterch/future_kids/commits{/sha}","git_commits_url":"https://api.github.com/repos/panterch/future_kids/git/commits{/sha}","comments_url":"https://api.github.com/repos/panterch/future_kids/comments{/number}","issue_comment_url":"https://api.github.com/repos/panterch/future_kids/issues/comments{/number}","contents_url":"https://api.github.com/repos/panterch/future_kids/contents/{+path}","compare_url":"https://api.github.com/repos/panterch/future_kids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/panterch/future_kids/merges","archive_url":"https://api.github.com/repos/panterch/future_kids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/panterch/future_kids/downloads","issues_url":"https://api.github.com/repos/panterch/future_kids/issues{/number}","pulls_url":"https://api.github.com/repos/panterch/future_kids/pulls{/number}","milestones_url":"https://api.github.com/repos/panterch/future_kids/milestones{/number}","notifications_url":"https://api.github.com/repos/panterch/future_kids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/panterch/future_kids/labels{/name}","releases_url":"https://api.github.com/repos/panterch/future_kids/releases{/id}","created_at":"2011-05-10T07:04:07Z","updated_at":"2015-05-07T18:57:50Z","pushed_at":"2015-08-05T19:40:27Z","git_url":"git://github.com/panterch/future_kids.git","ssh_url":"git@github.com:panterch/future_kids.git","clone_url":"https://github.com/panterch/future_kids.git","svn_url":"https://github.com/panterch/future_kids","homepage":"http://www.stadt-zuerich.ch/content/aoz/de/index/integration/future_kids/angebot.html","size":4666,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":12,"forks":5,"open_issues":12,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/panterch/future_kids/pulls/116"},"html":{"href":"https://github.com/panterch/future_kids/pull/116"},"issue":{"href":"https://api.github.com/repos/panterch/future_kids/issues/116"},"comments":{"href":"https://api.github.com/repos/panterch/future_kids/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/panterch/future_kids/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/panterch/future_kids/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/panterch/future_kids/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/panterch/future_kids/statuses/54deed0feec7d453605527d1da2642692648fbf5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":56,"deletions":4,"changed_files":3}}