{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/397","repository_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/397/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/397/events","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/397","id":180312680,"number":397,"title":"A little confused about many-to-many relationship in my app","user":{"login":"julie1013","id":14143334,"avatar_url":"https://avatars.githubusercontent.com/u/14143334?v=3","gravatar_id":"","url":"https://api.github.com/users/julie1013","html_url":"https://github.com/julie1013","followers_url":"https://api.github.com/users/julie1013/followers","following_url":"https://api.github.com/users/julie1013/following{/other_user}","gists_url":"https://api.github.com/users/julie1013/gists{/gist_id}","starred_url":"https://api.github.com/users/julie1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julie1013/subscriptions","organizations_url":"https://api.github.com/users/julie1013/orgs","repos_url":"https://api.github.com/users/julie1013/repos","events_url":"https://api.github.com/users/julie1013/events{/privacy}","received_events_url":"https://api.github.com/users/julie1013/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-30T14:07:01Z","updated_at":"2016-09-30T17:37:37Z","closed_at":null,"body":"The model I set up for the \"This Book Sucks\" app has users connected to books in a many-to-many relationship through another table called to_read_lists. It seems that with a join table it's implicit that each end of the relationship has a one-to-many relationship with to_read_lists. However, it makes more sense that the user would have only a one-to-one relationship with the to_read_lists. I think I am missing something, and I would like to show someone my code to make sure that I'm still on the right track in setting this up."},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/comments/250805900","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/397#issuecomment-250805900","issue_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/397","id":250805900,"user":{"login":"payne-chris-r","id":12667121,"avatar_url":"https://avatars.githubusercontent.com/u/12667121?v=3","gravatar_id":"","url":"https://api.github.com/users/payne-chris-r","html_url":"https://github.com/payne-chris-r","followers_url":"https://api.github.com/users/payne-chris-r/followers","following_url":"https://api.github.com/users/payne-chris-r/following{/other_user}","gists_url":"https://api.github.com/users/payne-chris-r/gists{/gist_id}","starred_url":"https://api.github.com/users/payne-chris-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payne-chris-r/subscriptions","organizations_url":"https://api.github.com/users/payne-chris-r/orgs","repos_url":"https://api.github.com/users/payne-chris-r/repos","events_url":"https://api.github.com/users/payne-chris-r/events{/privacy}","received_events_url":"https://api.github.com/users/payne-chris-r/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T17:37:37Z","updated_at":"2016-09-30T17:37:37Z","body":"And you should only have a serializer for Books when you need a serializer for Books. You should also only serialize out attributes of books when you need those attributes of books. #privatebydefault"}}
{"actor":{"display_login":"payne-chris-r"}}