{"action":"closed","issue":{"url":"https://api.github.com/repos/elixir-lang/ecto/issues/420","labels_url":"https://api.github.com/repos/elixir-lang/ecto/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ecto/issues/420/comments","events_url":"https://api.github.com/repos/elixir-lang/ecto/issues/420/events","html_url":"https://github.com/elixir-lang/ecto/issues/420","id":56114071,"number":420,"title":"has_many and no primary key","user":{"login":"handnot2","id":7528885,"avatar_url":"https://avatars.githubusercontent.com/u/7528885?v=3","gravatar_id":"","url":"https://api.github.com/users/handnot2","html_url":"https://github.com/handnot2","followers_url":"https://api.github.com/users/handnot2/followers","following_url":"https://api.github.com/users/handnot2/following{/other_user}","gists_url":"https://api.github.com/users/handnot2/gists{/gist_id}","starred_url":"https://api.github.com/users/handnot2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handnot2/subscriptions","organizations_url":"https://api.github.com/users/handnot2/orgs","repos_url":"https://api.github.com/users/handnot2/repos","events_url":"https://api.github.com/users/handnot2/events{/privacy}","received_events_url":"https://api.github.com/users/handnot2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-31T05:53:24Z","updated_at":"2015-01-31T09:59:34Z","closed_at":"2015-01-31T09:59:34Z","body":"Ecto 0.7.2\r\nHere is the association: A has_many B\r\nB does not have any primary key (@primary_key false)\r\nWhen doing a query on A with preload to get the associated records from B, the query fails with NoPrimaryKeyError."}}