{"action":"created","issue":{"url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/7","repository_url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep","labels_url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/7/comments","events_url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/7/events","html_url":"https://github.com/mi222ep/1DV450_mi222ep/issues/7","id":137684351,"number":7,"title":"Model relationship","user":{"login":"ehamrin","id":8625348,"avatar_url":"https://avatars.githubusercontent.com/u/8625348?v=3","gravatar_id":"","url":"https://api.github.com/users/ehamrin","html_url":"https://github.com/ehamrin","followers_url":"https://api.github.com/users/ehamrin/followers","following_url":"https://api.github.com/users/ehamrin/following{/other_user}","gists_url":"https://api.github.com/users/ehamrin/gists{/gist_id}","starred_url":"https://api.github.com/users/ehamrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehamrin/subscriptions","organizations_url":"https://api.github.com/users/ehamrin/orgs","repos_url":"https://api.github.com/users/ehamrin/repos","events_url":"https://api.github.com/users/ehamrin/events{/privacy}","received_events_url":"https://api.github.com/users/ehamrin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T20:56:06Z","updated_at":"2016-03-05T12:32:37Z","closed_at":"2016-03-05T12:32:37Z","body":"Det känns inte som att modellförhållandet är kopplat korrekt åt båda hållen. Apikey tillhör en User (fungerar), men en User har flera Applications(?!), borde vara Apikeys"},"comment":{"url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/comments/192635963","html_url":"https://github.com/mi222ep/1DV450_mi222ep/issues/7#issuecomment-192635963","issue_url":"https://api.github.com/repos/mi222ep/1DV450_mi222ep/issues/7","id":192635963,"user":{"login":"mi222ep","id":8652672,"avatar_url":"https://avatars.githubusercontent.com/u/8652672?v=3","gravatar_id":"","url":"https://api.github.com/users/mi222ep","html_url":"https://github.com/mi222ep","followers_url":"https://api.github.com/users/mi222ep/followers","following_url":"https://api.github.com/users/mi222ep/following{/other_user}","gists_url":"https://api.github.com/users/mi222ep/gists{/gist_id}","starred_url":"https://api.github.com/users/mi222ep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mi222ep/subscriptions","organizations_url":"https://api.github.com/users/mi222ep/orgs","repos_url":"https://api.github.com/users/mi222ep/repos","events_url":"https://api.github.com/users/mi222ep/events{/privacy}","received_events_url":"https://api.github.com/users/mi222ep/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T12:32:37Z","updated_at":"2016-03-05T12:32:37Z","body":"Haha. Det låg kvar sedan gammalt. Jag började att kalla klassen apikey för application. Vilket inte var särskilt bra, eftersom det ju redan finns en applicationController."}}