{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/Medirectory/medirectory/pulls/2","id":36943019,"html_url":"https://github.com/Medirectory/medirectory/pull/2","diff_url":"https://github.com/Medirectory/medirectory/pull/2.diff","patch_url":"https://github.com/Medirectory/medirectory/pull/2.patch","issue_url":"https://api.github.com/repos/Medirectory/medirectory/issues/2","number":2,"state":"closed","locked":false,"title":"Rails now returns the models embedded with associations","user":{"login":"dwrvnmnr","id":1529546,"avatar_url":"https://avatars.githubusercontent.com/u/1529546?v=3","gravatar_id":"","url":"https://api.github.com/users/dwrvnmnr","html_url":"https://github.com/dwrvnmnr","followers_url":"https://api.github.com/users/dwrvnmnr/followers","following_url":"https://api.github.com/users/dwrvnmnr/following{/other_user}","gists_url":"https://api.github.com/users/dwrvnmnr/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrvnmnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrvnmnr/subscriptions","organizations_url":"https://api.github.com/users/dwrvnmnr/orgs","repos_url":"https://api.github.com/users/dwrvnmnr/repos","events_url":"https://api.github.com/users/dwrvnmnr/events{/privacy}","received_events_url":"https://api.github.com/users/dwrvnmnr/received_events","type":"User","site_admin":false},"body":"Added embedded models.  Currently using include, which requires each embedded model included to be specified.  There may be an automatic method to include all models automatically.","created_at":"2015-06-04T15:00:21Z","updated_at":"2015-06-04T17:11:05Z","closed_at":"2015-06-04T17:11:05Z","merged_at":"2015-06-04T17:11:05Z","merge_commit_sha":"502339a5e6d4d4f4fc1c02f4ef2f79e18555bb49","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Medirectory/medirectory/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Medirectory/medirectory/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Medirectory/medirectory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Medirectory/medirectory/issues/2/comments","statuses_url":"https://api.github.com/repos/Medirectory/medirectory/statuses/0e32f1e116e0d1418195d0dc2bfdb8d841ee8e78","head":{"label":"Medirectory:embedded_models","ref":"embedded_models","sha":"0e32f1e116e0d1418195d0dc2bfdb8d841ee8e78","user":{"login":"Medirectory","id":11929251,"avatar_url":"https://avatars.githubusercontent.com/u/11929251?v=3","gravatar_id":"","url":"https://api.github.com/users/Medirectory","html_url":"https://github.com/Medirectory","followers_url":"https://api.github.com/users/Medirectory/followers","following_url":"https://api.github.com/users/Medirectory/following{/other_user}","gists_url":"https://api.github.com/users/Medirectory/gists{/gist_id}","starred_url":"https://api.github.com/users/Medirectory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medirectory/subscriptions","organizations_url":"https://api.github.com/users/Medirectory/orgs","repos_url":"https://api.github.com/users/Medirectory/repos","events_url":"https://api.github.com/users/Medirectory/events{/privacy}","received_events_url":"https://api.github.com/users/Medirectory/received_events","type":"Organization","site_admin":false},"repo":{"id":33884984,"name":"medirectory","full_name":"Medirectory/medirectory","owner":{"login":"Medirectory","id":11929251,"avatar_url":"https://avatars.githubusercontent.com/u/11929251?v=3","gravatar_id":"","url":"https://api.github.com/users/Medirectory","html_url":"https://github.com/Medirectory","followers_url":"https://api.github.com/users/Medirectory/followers","following_url":"https://api.github.com/users/Medirectory/following{/other_user}","gists_url":"https://api.github.com/users/Medirectory/gists{/gist_id}","starred_url":"https://api.github.com/users/Medirectory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medirectory/subscriptions","organizations_url":"https://api.github.com/users/Medirectory/orgs","repos_url":"https://api.github.com/users/Medirectory/repos","events_url":"https://api.github.com/users/Medirectory/events{/privacy}","received_events_url":"https://api.github.com/users/Medirectory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Medirectory/medirectory","description":"Provider Directory Pilot","fork":false,"url":"https://api.github.com/repos/Medirectory/medirectory","forks_url":"https://api.github.com/repos/Medirectory/medirectory/forks","keys_url":"https://api.github.com/repos/Medirectory/medirectory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Medirectory/medirectory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Medirectory/medirectory/teams","hooks_url":"https://api.github.com/repos/Medirectory/medirectory/hooks","issue_events_url":"https://api.github.com/repos/Medirectory/medirectory/issues/events{/number}","events_url":"https://api.github.com/repos/Medirectory/medirectory/events","assignees_url":"https://api.github.com/repos/Medirectory/medirectory/assignees{/user}","branches_url":"https://api.github.com/repos/Medirectory/medirectory/branches{/branch}","tags_url":"https://api.github.com/repos/Medirectory/medirectory/tags","blobs_url":"https://api.github.com/repos/Medirectory/medirectory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Medirectory/medirectory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Medirectory/medirectory/git/refs{/sha}","trees_url":"https://api.github.com/repos/Medirectory/medirectory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Medirectory/medirectory/statuses/{sha}","languages_url":"https://api.github.com/repos/Medirectory/medirectory/languages","stargazers_url":"https://api.github.com/repos/Medirectory/medirectory/stargazers","contributors_url":"https://api.github.com/repos/Medirectory/medirectory/contributors","subscribers_url":"https://api.github.com/repos/Medirectory/medirectory/subscribers","subscription_url":"https://api.github.com/repos/Medirectory/medirectory/subscription","commits_url":"https://api.github.com/repos/Medirectory/medirectory/commits{/sha}","git_commits_url":"https://api.github.com/repos/Medirectory/medirectory/git/commits{/sha}","comments_url":"https://api.github.com/repos/Medirectory/medirectory/comments{/number}","issue_comment_url":"https://api.github.com/repos/Medirectory/medirectory/issues/comments{/number}","contents_url":"https://api.github.com/repos/Medirectory/medirectory/contents/{+path}","compare_url":"https://api.github.com/repos/Medirectory/medirectory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Medirectory/medirectory/merges","archive_url":"https://api.github.com/repos/Medirectory/medirectory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Medirectory/medirectory/downloads","issues_url":"https://api.github.com/repos/Medirectory/medirectory/issues{/number}","pulls_url":"https://api.github.com/repos/Medirectory/medirectory/pulls{/number}","milestones_url":"https://api.github.com/repos/Medirectory/medirectory/milestones{/number}","notifications_url":"https://api.github.com/repos/Medirectory/medirectory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Medirectory/medirectory/labels{/name}","releases_url":"https://api.github.com/repos/Medirectory/medirectory/releases{/id}","created_at":"2015-04-13T18:06:47Z","updated_at":"2015-04-14T14:41:18Z","pushed_at":"2015-06-04T17:11:05Z","git_url":"git://github.com/Medirectory/medirectory.git","ssh_url":"git@github.com:Medirectory/medirectory.git","clone_url":"https://github.com/Medirectory/medirectory.git","svn_url":"https://github.com/Medirectory/medirectory","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"Medirectory:master","ref":"master","sha":"22099f0a364b1b1fd90ff3fe1e8cc20333a4bfb4","user":{"login":"Medirectory","id":11929251,"avatar_url":"https://avatars.githubusercontent.com/u/11929251?v=3","gravatar_id":"","url":"https://api.github.com/users/Medirectory","html_url":"https://github.com/Medirectory","followers_url":"https://api.github.com/users/Medirectory/followers","following_url":"https://api.github.com/users/Medirectory/following{/other_user}","gists_url":"https://api.github.com/users/Medirectory/gists{/gist_id}","starred_url":"https://api.github.com/users/Medirectory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medirectory/subscriptions","organizations_url":"https://api.github.com/users/Medirectory/orgs","repos_url":"https://api.github.com/users/Medirectory/repos","events_url":"https://api.github.com/users/Medirectory/events{/privacy}","received_events_url":"https://api.github.com/users/Medirectory/received_events","type":"Organization","site_admin":false},"repo":{"id":33884984,"name":"medirectory","full_name":"Medirectory/medirectory","owner":{"login":"Medirectory","id":11929251,"avatar_url":"https://avatars.githubusercontent.com/u/11929251?v=3","gravatar_id":"","url":"https://api.github.com/users/Medirectory","html_url":"https://github.com/Medirectory","followers_url":"https://api.github.com/users/Medirectory/followers","following_url":"https://api.github.com/users/Medirectory/following{/other_user}","gists_url":"https://api.github.com/users/Medirectory/gists{/gist_id}","starred_url":"https://api.github.com/users/Medirectory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medirectory/subscriptions","organizations_url":"https://api.github.com/users/Medirectory/orgs","repos_url":"https://api.github.com/users/Medirectory/repos","events_url":"https://api.github.com/users/Medirectory/events{/privacy}","received_events_url":"https://api.github.com/users/Medirectory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Medirectory/medirectory","description":"Provider Directory Pilot","fork":false,"url":"https://api.github.com/repos/Medirectory/medirectory","forks_url":"https://api.github.com/repos/Medirectory/medirectory/forks","keys_url":"https://api.github.com/repos/Medirectory/medirectory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Medirectory/medirectory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Medirectory/medirectory/teams","hooks_url":"https://api.github.com/repos/Medirectory/medirectory/hooks","issue_events_url":"https://api.github.com/repos/Medirectory/medirectory/issues/events{/number}","events_url":"https://api.github.com/repos/Medirectory/medirectory/events","assignees_url":"https://api.github.com/repos/Medirectory/medirectory/assignees{/user}","branches_url":"https://api.github.com/repos/Medirectory/medirectory/branches{/branch}","tags_url":"https://api.github.com/repos/Medirectory/medirectory/tags","blobs_url":"https://api.github.com/repos/Medirectory/medirectory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Medirectory/medirectory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Medirectory/medirectory/git/refs{/sha}","trees_url":"https://api.github.com/repos/Medirectory/medirectory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Medirectory/medirectory/statuses/{sha}","languages_url":"https://api.github.com/repos/Medirectory/medirectory/languages","stargazers_url":"https://api.github.com/repos/Medirectory/medirectory/stargazers","contributors_url":"https://api.github.com/repos/Medirectory/medirectory/contributors","subscribers_url":"https://api.github.com/repos/Medirectory/medirectory/subscribers","subscription_url":"https://api.github.com/repos/Medirectory/medirectory/subscription","commits_url":"https://api.github.com/repos/Medirectory/medirectory/commits{/sha}","git_commits_url":"https://api.github.com/repos/Medirectory/medirectory/git/commits{/sha}","comments_url":"https://api.github.com/repos/Medirectory/medirectory/comments{/number}","issue_comment_url":"https://api.github.com/repos/Medirectory/medirectory/issues/comments{/number}","contents_url":"https://api.github.com/repos/Medirectory/medirectory/contents/{+path}","compare_url":"https://api.github.com/repos/Medirectory/medirectory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Medirectory/medirectory/merges","archive_url":"https://api.github.com/repos/Medirectory/medirectory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Medirectory/medirectory/downloads","issues_url":"https://api.github.com/repos/Medirectory/medirectory/issues{/number}","pulls_url":"https://api.github.com/repos/Medirectory/medirectory/pulls{/number}","milestones_url":"https://api.github.com/repos/Medirectory/medirectory/milestones{/number}","notifications_url":"https://api.github.com/repos/Medirectory/medirectory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Medirectory/medirectory/labels{/name}","releases_url":"https://api.github.com/repos/Medirectory/medirectory/releases{/id}","created_at":"2015-04-13T18:06:47Z","updated_at":"2015-04-14T14:41:18Z","pushed_at":"2015-06-04T17:11:05Z","git_url":"git://github.com/Medirectory/medirectory.git","ssh_url":"git@github.com:Medirectory/medirectory.git","clone_url":"https://github.com/Medirectory/medirectory.git","svn_url":"https://github.com/Medirectory/medirectory","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/Medirectory/medirectory/pulls/2"},"html":{"href":"https://github.com/Medirectory/medirectory/pull/2"},"issue":{"href":"https://api.github.com/repos/Medirectory/medirectory/issues/2"},"comments":{"href":"https://api.github.com/repos/Medirectory/medirectory/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Medirectory/medirectory/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Medirectory/medirectory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Medirectory/medirectory/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Medirectory/medirectory/statuses/0e32f1e116e0d1418195d0dc2bfdb8d841ee8e78"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pkmitre","id":3720400,"avatar_url":"https://avatars.githubusercontent.com/u/3720400?v=3","gravatar_id":"","url":"https://api.github.com/users/pkmitre","html_url":"https://github.com/pkmitre","followers_url":"https://api.github.com/users/pkmitre/followers","following_url":"https://api.github.com/users/pkmitre/following{/other_user}","gists_url":"https://api.github.com/users/pkmitre/gists{/gist_id}","starred_url":"https://api.github.com/users/pkmitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkmitre/subscriptions","organizations_url":"https://api.github.com/users/pkmitre/orgs","repos_url":"https://api.github.com/users/pkmitre/repos","events_url":"https://api.github.com/users/pkmitre/events{/privacy}","received_events_url":"https://api.github.com/users/pkmitre/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":3,"additions":12,"deletions":4,"changed_files":2}}