{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4","id":43994428,"html_url":"https://github.com/walterhorstman/ordered-active-record/pull/4","diff_url":"https://github.com/walterhorstman/ordered-active-record/pull/4.diff","patch_url":"https://github.com/walterhorstman/ordered-active-record/pull/4.patch","issue_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/4","number":4,"state":"open","locked":false,"title":"It adds support to dynamically change the scope","user":{"login":"orbanbotond","id":160919,"avatar_url":"https://avatars.githubusercontent.com/u/160919?v=3","gravatar_id":"","url":"https://api.github.com/users/orbanbotond","html_url":"https://github.com/orbanbotond","followers_url":"https://api.github.com/users/orbanbotond/followers","following_url":"https://api.github.com/users/orbanbotond/following{/other_user}","gists_url":"https://api.github.com/users/orbanbotond/gists{/gist_id}","starred_url":"https://api.github.com/users/orbanbotond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbanbotond/subscriptions","organizations_url":"https://api.github.com/users/orbanbotond/orgs","repos_url":"https://api.github.com/users/orbanbotond/repos","events_url":"https://api.github.com/users/orbanbotond/events{/privacy}","received_events_url":"https://api.github.com/users/orbanbotond/received_events","type":"User","site_admin":false},"body":"This will add support to STI too\r\n\r\nIt will fix issue:\r\nhttps://github.com/walterhorstman/ordered-active-record/issues/3\r\n","created_at":"2015-09-02T13:55:44Z","updated_at":"2015-09-02T13:55:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4/commits","review_comments_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4/comments","review_comment_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/comments{/number}","comments_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/4/comments","statuses_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/statuses/138d8e210cc416e2da75ac6c51d78566e1362fa5","head":{"label":"orbanbotond:master","ref":"master","sha":"138d8e210cc416e2da75ac6c51d78566e1362fa5","user":{"login":"orbanbotond","id":160919,"avatar_url":"https://avatars.githubusercontent.com/u/160919?v=3","gravatar_id":"","url":"https://api.github.com/users/orbanbotond","html_url":"https://github.com/orbanbotond","followers_url":"https://api.github.com/users/orbanbotond/followers","following_url":"https://api.github.com/users/orbanbotond/following{/other_user}","gists_url":"https://api.github.com/users/orbanbotond/gists{/gist_id}","starred_url":"https://api.github.com/users/orbanbotond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbanbotond/subscriptions","organizations_url":"https://api.github.com/users/orbanbotond/orgs","repos_url":"https://api.github.com/users/orbanbotond/repos","events_url":"https://api.github.com/users/orbanbotond/events{/privacy}","received_events_url":"https://api.github.com/users/orbanbotond/received_events","type":"User","site_admin":false},"repo":{"id":41797984,"name":"ordered-active-record","full_name":"orbanbotond/ordered-active-record","owner":{"login":"orbanbotond","id":160919,"avatar_url":"https://avatars.githubusercontent.com/u/160919?v=3","gravatar_id":"","url":"https://api.github.com/users/orbanbotond","html_url":"https://github.com/orbanbotond","followers_url":"https://api.github.com/users/orbanbotond/followers","following_url":"https://api.github.com/users/orbanbotond/following{/other_user}","gists_url":"https://api.github.com/users/orbanbotond/gists{/gist_id}","starred_url":"https://api.github.com/users/orbanbotond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbanbotond/subscriptions","organizations_url":"https://api.github.com/users/orbanbotond/orgs","repos_url":"https://api.github.com/users/orbanbotond/repos","events_url":"https://api.github.com/users/orbanbotond/events{/privacy}","received_events_url":"https://api.github.com/users/orbanbotond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/orbanbotond/ordered-active-record","description":"Lightweight ordering of models in ActiveRecord 3 or higher","fork":true,"url":"https://api.github.com/repos/orbanbotond/ordered-active-record","forks_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/forks","keys_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/teams","hooks_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/hooks","issue_events_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/issues/events{/number}","events_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/events","assignees_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/assignees{/user}","branches_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/branches{/branch}","tags_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/tags","blobs_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/statuses/{sha}","languages_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/languages","stargazers_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/stargazers","contributors_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/contributors","subscribers_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/subscribers","subscription_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/subscription","commits_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/contents/{+path}","compare_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/merges","archive_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/downloads","issues_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/issues{/number}","pulls_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/pulls{/number}","milestones_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/milestones{/number}","notifications_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/labels{/name}","releases_url":"https://api.github.com/repos/orbanbotond/ordered-active-record/releases{/id}","created_at":"2015-09-02T11:45:27Z","updated_at":"2015-09-02T11:45:28Z","pushed_at":"2015-09-02T12:14:53Z","git_url":"git://github.com/orbanbotond/ordered-active-record.git","ssh_url":"git@github.com:orbanbotond/ordered-active-record.git","clone_url":"https://github.com/orbanbotond/ordered-active-record.git","svn_url":"https://github.com/orbanbotond/ordered-active-record","homepage":"http://www.itonrails.com","size":131,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"walterhorstman:master","ref":"master","sha":"5086ffdbb8d2a1ead7f30880ebe0f4bcea1f48e3","user":{"login":"walterhorstman","id":105590,"avatar_url":"https://avatars.githubusercontent.com/u/105590?v=3","gravatar_id":"","url":"https://api.github.com/users/walterhorstman","html_url":"https://github.com/walterhorstman","followers_url":"https://api.github.com/users/walterhorstman/followers","following_url":"https://api.github.com/users/walterhorstman/following{/other_user}","gists_url":"https://api.github.com/users/walterhorstman/gists{/gist_id}","starred_url":"https://api.github.com/users/walterhorstman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walterhorstman/subscriptions","organizations_url":"https://api.github.com/users/walterhorstman/orgs","repos_url":"https://api.github.com/users/walterhorstman/repos","events_url":"https://api.github.com/users/walterhorstman/events{/privacy}","received_events_url":"https://api.github.com/users/walterhorstman/received_events","type":"User","site_admin":false},"repo":{"id":1946932,"name":"ordered-active-record","full_name":"walterhorstman/ordered-active-record","owner":{"login":"walterhorstman","id":105590,"avatar_url":"https://avatars.githubusercontent.com/u/105590?v=3","gravatar_id":"","url":"https://api.github.com/users/walterhorstman","html_url":"https://github.com/walterhorstman","followers_url":"https://api.github.com/users/walterhorstman/followers","following_url":"https://api.github.com/users/walterhorstman/following{/other_user}","gists_url":"https://api.github.com/users/walterhorstman/gists{/gist_id}","starred_url":"https://api.github.com/users/walterhorstman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walterhorstman/subscriptions","organizations_url":"https://api.github.com/users/walterhorstman/orgs","repos_url":"https://api.github.com/users/walterhorstman/repos","events_url":"https://api.github.com/users/walterhorstman/events{/privacy}","received_events_url":"https://api.github.com/users/walterhorstman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/walterhorstman/ordered-active-record","description":"Lightweight ordering of models in ActiveRecord 3 or higher","fork":false,"url":"https://api.github.com/repos/walterhorstman/ordered-active-record","forks_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/forks","keys_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/teams","hooks_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/hooks","issue_events_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/events{/number}","events_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/events","assignees_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/assignees{/user}","branches_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/branches{/branch}","tags_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/tags","blobs_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/git/refs{/sha}","trees_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/statuses/{sha}","languages_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/languages","stargazers_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/stargazers","contributors_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/contributors","subscribers_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/subscribers","subscription_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/subscription","commits_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/commits{/sha}","git_commits_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/git/commits{/sha}","comments_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/comments{/number}","issue_comment_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/comments{/number}","contents_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/contents/{+path}","compare_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/merges","archive_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/downloads","issues_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues{/number}","pulls_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls{/number}","milestones_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/milestones{/number}","notifications_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/labels{/name}","releases_url":"https://api.github.com/repos/walterhorstman/ordered-active-record/releases{/id}","created_at":"2011-06-24T09:58:23Z","updated_at":"2014-10-24T12:53:58Z","pushed_at":"2014-05-28T04:53:25Z","git_url":"git://github.com/walterhorstman/ordered-active-record.git","ssh_url":"git@github.com:walterhorstman/ordered-active-record.git","clone_url":"https://github.com/walterhorstman/ordered-active-record.git","svn_url":"https://github.com/walterhorstman/ordered-active-record","homepage":"http://www.itonrails.com","size":188,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4"},"html":{"href":"https://github.com/walterhorstman/ordered-active-record/pull/4"},"issue":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/4"},"comments":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/walterhorstman/ordered-active-record/statuses/138d8e210cc416e2da75ac6c51d78566e1362fa5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}