{"action":"opened","number":3885,"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/3885","id":48650181,"html_url":"https://github.com/emberjs/data/pull/3885","diff_url":"https://github.com/emberjs/data/pull/3885.diff","patch_url":"https://github.com/emberjs/data/pull/3885.patch","issue_url":"https://api.github.com/repos/emberjs/data/issues/3885","number":3885,"state":"open","locked":false,"title":"fix model relationship name generation","user":{"login":"gabrielgrant","id":493968,"avatar_url":"https://avatars.githubusercontent.com/u/493968?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielgrant","html_url":"https://github.com/gabrielgrant","followers_url":"https://api.github.com/users/gabrielgrant/followers","following_url":"https://api.github.com/users/gabrielgrant/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgrant/subscriptions","organizations_url":"https://api.github.com/users/gabrielgrant/orgs","repos_url":"https://api.github.com/users/gabrielgrant/repos","events_url":"https://api.github.com/users/gabrielgrant/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgrant/received_events","type":"User","site_admin":false},"body":"It is not currently possible to generate a model with a relationship named differently from the model's name ([despite the help indicating it should be](https://github.com/emberjs/data/blob/addonified/blueprints/model/HELP.md))\r\n\r\nThis patch brings the code's behavior in line with the docs.","created_at":"2015-10-24T06:35:54Z","updated_at":"2015-10-24T06:35:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/data/pulls/3885/commits","review_comments_url":"https://api.github.com/repos/emberjs/data/pulls/3885/comments","review_comment_url":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3885/comments","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/726fc1fadf8ee54f72330bebc5a958b95dc07e8b","head":{"label":"gabrielgrant:fix-model-blueprint","ref":"fix-model-blueprint","sha":"726fc1fadf8ee54f72330bebc5a958b95dc07e8b","user":{"login":"gabrielgrant","id":493968,"avatar_url":"https://avatars.githubusercontent.com/u/493968?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielgrant","html_url":"https://github.com/gabrielgrant","followers_url":"https://api.github.com/users/gabrielgrant/followers","following_url":"https://api.github.com/users/gabrielgrant/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgrant/subscriptions","organizations_url":"https://api.github.com/users/gabrielgrant/orgs","repos_url":"https://api.github.com/users/gabrielgrant/repos","events_url":"https://api.github.com/users/gabrielgrant/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgrant/received_events","type":"User","site_admin":false},"repo":{"id":44854530,"name":"data","full_name":"gabrielgrant/data","owner":{"login":"gabrielgrant","id":493968,"avatar_url":"https://avatars.githubusercontent.com/u/493968?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielgrant","html_url":"https://github.com/gabrielgrant","followers_url":"https://api.github.com/users/gabrielgrant/followers","following_url":"https://api.github.com/users/gabrielgrant/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgrant/subscriptions","organizations_url":"https://api.github.com/users/gabrielgrant/orgs","repos_url":"https://api.github.com/users/gabrielgrant/repos","events_url":"https://api.github.com/users/gabrielgrant/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgrant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabrielgrant/data","description":"A data persistence library for Ember.js.","fork":true,"url":"https://api.github.com/repos/gabrielgrant/data","forks_url":"https://api.github.com/repos/gabrielgrant/data/forks","keys_url":"https://api.github.com/repos/gabrielgrant/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabrielgrant/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabrielgrant/data/teams","hooks_url":"https://api.github.com/repos/gabrielgrant/data/hooks","issue_events_url":"https://api.github.com/repos/gabrielgrant/data/issues/events{/number}","events_url":"https://api.github.com/repos/gabrielgrant/data/events","assignees_url":"https://api.github.com/repos/gabrielgrant/data/assignees{/user}","branches_url":"https://api.github.com/repos/gabrielgrant/data/branches{/branch}","tags_url":"https://api.github.com/repos/gabrielgrant/data/tags","blobs_url":"https://api.github.com/repos/gabrielgrant/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabrielgrant/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabrielgrant/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabrielgrant/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabrielgrant/data/statuses/{sha}","languages_url":"https://api.github.com/repos/gabrielgrant/data/languages","stargazers_url":"https://api.github.com/repos/gabrielgrant/data/stargazers","contributors_url":"https://api.github.com/repos/gabrielgrant/data/contributors","subscribers_url":"https://api.github.com/repos/gabrielgrant/data/subscribers","subscription_url":"https://api.github.com/repos/gabrielgrant/data/subscription","commits_url":"https://api.github.com/repos/gabrielgrant/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabrielgrant/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabrielgrant/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabrielgrant/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabrielgrant/data/contents/{+path}","compare_url":"https://api.github.com/repos/gabrielgrant/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabrielgrant/data/merges","archive_url":"https://api.github.com/repos/gabrielgrant/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabrielgrant/data/downloads","issues_url":"https://api.github.com/repos/gabrielgrant/data/issues{/number}","pulls_url":"https://api.github.com/repos/gabrielgrant/data/pulls{/number}","milestones_url":"https://api.github.com/repos/gabrielgrant/data/milestones{/number}","notifications_url":"https://api.github.com/repos/gabrielgrant/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabrielgrant/data/labels{/name}","releases_url":"https://api.github.com/repos/gabrielgrant/data/releases{/id}","created_at":"2015-10-24T06:06:57Z","updated_at":"2015-10-24T06:07:00Z","pushed_at":"2015-10-24T06:34:15Z","git_url":"git://github.com/gabrielgrant/data.git","ssh_url":"git@github.com:gabrielgrant/data.git","clone_url":"https://github.com/gabrielgrant/data.git","svn_url":"https://github.com/gabrielgrant/data","homepage":"","size":30695,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"emberjs:addonified","ref":"addonified","sha":"f9fc011447b6fb82614e6e0d9136ff06cc05864e","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3016562,"name":"data","full_name":"emberjs/data","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/data","description":"A data persistence library for Ember.js.","fork":false,"url":"https://api.github.com/repos/emberjs/data","forks_url":"https://api.github.com/repos/emberjs/data/forks","keys_url":"https://api.github.com/repos/emberjs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/data/teams","hooks_url":"https://api.github.com/repos/emberjs/data/hooks","issue_events_url":"https://api.github.com/repos/emberjs/data/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/data/events","assignees_url":"https://api.github.com/repos/emberjs/data/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/data/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/data/tags","blobs_url":"https://api.github.com/repos/emberjs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/data/languages","stargazers_url":"https://api.github.com/repos/emberjs/data/stargazers","contributors_url":"https://api.github.com/repos/emberjs/data/contributors","subscribers_url":"https://api.github.com/repos/emberjs/data/subscribers","subscription_url":"https://api.github.com/repos/emberjs/data/subscription","commits_url":"https://api.github.com/repos/emberjs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/data/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/data/merges","archive_url":"https://api.github.com/repos/emberjs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/data/downloads","issues_url":"https://api.github.com/repos/emberjs/data/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/data/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/data/releases{/id}","created_at":"2011-12-20T01:50:40Z","updated_at":"2015-10-22T19:28:02Z","pushed_at":"2015-10-23T20:07:48Z","git_url":"git://github.com/emberjs/data.git","ssh_url":"git@github.com:emberjs/data.git","clone_url":"https://github.com/emberjs/data.git","svn_url":"https://github.com/emberjs/data","homepage":"","size":30695,"stargazers_count":2540,"watchers_count":2540,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":986,"mirror_url":null,"open_issues_count":254,"forks":986,"open_issues":254,"watchers":2540,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/3885"},"html":{"href":"https://github.com/emberjs/data/pull/3885"},"issue":{"href":"https://api.github.com/repos/emberjs/data/issues/3885"},"comments":{"href":"https://api.github.com/repos/emberjs/data/issues/3885/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/data/pulls/3885/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/data/pulls/3885/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/data/statuses/726fc1fadf8ee54f72330bebc5a958b95dc07e8b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":6,"changed_files":1}}