{"action":"opened","issue":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/270","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/270/comments","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/270/events","html_url":"https://github.com/samselikoff/ember-cli-mirage/issues/270","id":104793057,"number":270,"title":"when passing belongsTo(key) and hasMany(key), use that key instead of the model class name","user":{"login":"2468ben","id":597252,"avatar_url":"https://avatars.githubusercontent.com/u/597252?v=3","gravatar_id":"","url":"https://api.github.com/users/2468ben","html_url":"https://github.com/2468ben","followers_url":"https://api.github.com/users/2468ben/followers","following_url":"https://api.github.com/users/2468ben/following{/other_user}","gists_url":"https://api.github.com/users/2468ben/gists{/gist_id}","starred_url":"https://api.github.com/users/2468ben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2468ben/subscriptions","organizations_url":"https://api.github.com/users/2468ben/orgs","repos_url":"https://api.github.com/users/2468ben/repos","events_url":"https://api.github.com/users/2468ben/events{/privacy}","received_events_url":"https://api.github.com/users/2468ben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T22:23:51Z","updated_at":"2015-09-03T22:23:51Z","closed_at":null,"body":"for example,\r\n`responses: Em.hasMany('comments')`\r\n`user_like: Em.belongsTo('like')`\r\n\r\nI'll make a PR if I have energy left after debugging.\r\nIn some places around the orm code, (mostly in belongs-to.js and has-many.js), when I want the string 'response_ids' I'll get 'comment_ids' instead, or instead of 'user_like_id' I'll get or 'like_id'."}}