{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/2","id":104242038,"html_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo/pull/2","diff_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo/pull/2.diff","patch_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo/pull/2.patch","issue_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/2","number":2,"state":"closed","locked":false,"title":"[WIP] Pro Tip 1: Using ActiveRecord::Base.from","user":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-01T23:02:53Z","updated_at":"2017-02-02T02:52:18Z","closed_at":"2017-02-02T02:52:18Z","merged_at":"2017-02-02T02:52:18Z","merge_commit_sha":"5f84728dedb5f3ec7c8984a0e10f3dc5632ce95e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/2/comments","statuses_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/statuses/e2e536f85677a2e83304ea5375551aa472c81ad7","head":{"label":"vovimayhem:feature/optimization-example-using-from","ref":"feature/optimization-example-using-from","sha":"e2e536f85677a2e83304ea5375551aa472c81ad7","user":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"repo":{"id":80541916,"name":"activerecord-pro-tips-demo","full_name":"vovimayhem/activerecord-pro-tips-demo","owner":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo","description":"Example of optimization tip for ActiveRecord and the n+1/eager-loading/indexing problems","fork":false,"url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo","forks_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/forks","keys_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/teams","hooks_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/hooks","issue_events_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/events{/number}","events_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/events","assignees_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/assignees{/user}","branches_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/branches{/branch}","tags_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/tags","blobs_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/languages","stargazers_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/stargazers","contributors_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/contributors","subscribers_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/subscribers","subscription_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/subscription","commits_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/contents/{+path}","compare_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/merges","archive_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/downloads","issues_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues{/number}","pulls_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/labels{/name}","releases_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/releases{/id}","deployments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/deployments","created_at":"2017-01-31T17:06:19Z","updated_at":"2017-02-01T21:36:43Z","pushed_at":"2017-02-02T02:52:18Z","git_url":"git://github.com/vovimayhem/activerecord-pro-tips-demo.git","ssh_url":"git@github.com:vovimayhem/activerecord-pro-tips-demo.git","clone_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo.git","svn_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo","homepage":null,"size":289,"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":"vovimayhem:master","ref":"master","sha":"be368ae83f6853aa5f695ecd6d5a0da1074bfd09","user":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"repo":{"id":80541916,"name":"activerecord-pro-tips-demo","full_name":"vovimayhem/activerecord-pro-tips-demo","owner":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo","description":"Example of optimization tip for ActiveRecord and the n+1/eager-loading/indexing problems","fork":false,"url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo","forks_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/forks","keys_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/teams","hooks_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/hooks","issue_events_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/events{/number}","events_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/events","assignees_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/assignees{/user}","branches_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/branches{/branch}","tags_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/tags","blobs_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/languages","stargazers_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/stargazers","contributors_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/contributors","subscribers_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/subscribers","subscription_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/subscription","commits_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/contents/{+path}","compare_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/merges","archive_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/downloads","issues_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues{/number}","pulls_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/labels{/name}","releases_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/releases{/id}","deployments_url":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/deployments","created_at":"2017-01-31T17:06:19Z","updated_at":"2017-02-01T21:36:43Z","pushed_at":"2017-02-02T02:52:18Z","git_url":"git://github.com/vovimayhem/activerecord-pro-tips-demo.git","ssh_url":"git@github.com:vovimayhem/activerecord-pro-tips-demo.git","clone_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo.git","svn_url":"https://github.com/vovimayhem/activerecord-pro-tips-demo","homepage":null,"size":289,"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/vovimayhem/activerecord-pro-tips-demo/pulls/2"},"html":{"href":"https://github.com/vovimayhem/activerecord-pro-tips-demo/pull/2"},"issue":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/2"},"comments":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vovimayhem/activerecord-pro-tips-demo/statuses/e2e536f85677a2e83304ea5375551aa472c81ad7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vovimayhem","id":1915931,"avatar_url":"https://avatars.githubusercontent.com/u/1915931?v=3","gravatar_id":"","url":"https://api.github.com/users/vovimayhem","html_url":"https://github.com/vovimayhem","followers_url":"https://api.github.com/users/vovimayhem/followers","following_url":"https://api.github.com/users/vovimayhem/following{/other_user}","gists_url":"https://api.github.com/users/vovimayhem/gists{/gist_id}","starred_url":"https://api.github.com/users/vovimayhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovimayhem/subscriptions","organizations_url":"https://api.github.com/users/vovimayhem/orgs","repos_url":"https://api.github.com/users/vovimayhem/repos","events_url":"https://api.github.com/users/vovimayhem/events{/privacy}","received_events_url":"https://api.github.com/users/vovimayhem/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":264,"deletions":21,"changed_files":24}}
{"actor":{"display_login":"vovimayhem"}}