{"action":"closed","number":933,"pull_request":{"url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933","id":202048443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDQ4NDQz","html_url":"https://github.com/activerecord-hackery/ransack/pull/933","diff_url":"https://github.com/activerecord-hackery/ransack/pull/933.diff","patch_url":"https://github.com/activerecord-hackery/ransack/pull/933.patch","issue_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/933","number":933,"state":"closed","locked":false,"title":"Add feature to allow selectively skipping scope argument sanitization.","user":{"login":"justinh24","id":62197,"node_id":"MDQ6VXNlcjYyMTk3","avatar_url":"https://avatars1.githubusercontent.com/u/62197?v=4","gravatar_id":"","url":"https://api.github.com/users/justinh24","html_url":"https://github.com/justinh24","followers_url":"https://api.github.com/users/justinh24/followers","following_url":"https://api.github.com/users/justinh24/following{/other_user}","gists_url":"https://api.github.com/users/justinh24/gists{/gist_id}","starred_url":"https://api.github.com/users/justinh24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinh24/subscriptions","organizations_url":"https://api.github.com/users/justinh24/orgs","repos_url":"https://api.github.com/users/justinh24/repos","events_url":"https://api.github.com/users/justinh24/events{/privacy}","received_events_url":"https://api.github.com/users/justinh24/received_events","type":"User","site_admin":false},"body":"Currently Ransack documentation suggests you implement your own sanitization if you need the ability to pass truth-y values to a scope (1,0,t,f,etc.).  I have provided an add one to allow one to list scopes which should not be sanitized, and to continue using the existing mechanism for all other scopes.\r\n\r\nThis is particularly handy if you are passing form inputs into a scope.  (i.e. Power Search which searches across multiple fields)\r\n","created_at":"2018-07-17T19:43:11Z","updated_at":"2018-07-24T19:24:40Z","closed_at":"2018-07-24T19:24:40Z","merged_at":"2018-07-24T19:24:40Z","merge_commit_sha":"6bcfcc12c5e0f78b014afe47ad9de09ed5745272","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933/commits","review_comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933/comments","review_comment_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/933/comments","statuses_url":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/24a4d4330aa8c59e5ffe7aa729920ac12e944fcd","head":{"label":"northworld:selectively_skip_scope_sanitizing","ref":"selectively_skip_scope_sanitizing","sha":"24a4d4330aa8c59e5ffe7aa729920ac12e944fcd","user":{"login":"northworld","id":416078,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjA3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/416078?v=4","gravatar_id":"","url":"https://api.github.com/users/northworld","html_url":"https://github.com/northworld","followers_url":"https://api.github.com/users/northworld/followers","following_url":"https://api.github.com/users/northworld/following{/other_user}","gists_url":"https://api.github.com/users/northworld/gists{/gist_id}","starred_url":"https://api.github.com/users/northworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/northworld/subscriptions","organizations_url":"https://api.github.com/users/northworld/orgs","repos_url":"https://api.github.com/users/northworld/repos","events_url":"https://api.github.com/users/northworld/events{/privacy}","received_events_url":"https://api.github.com/users/northworld/received_events","type":"Organization","site_admin":false},"repo":{"id":140901411,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA5MDE0MTE=","name":"ransack","full_name":"northworld/ransack","owner":{"login":"northworld","id":416078,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjA3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/416078?v=4","gravatar_id":"","url":"https://api.github.com/users/northworld","html_url":"https://github.com/northworld","followers_url":"https://api.github.com/users/northworld/followers","following_url":"https://api.github.com/users/northworld/following{/other_user}","gists_url":"https://api.github.com/users/northworld/gists{/gist_id}","starred_url":"https://api.github.com/users/northworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/northworld/subscriptions","organizations_url":"https://api.github.com/users/northworld/orgs","repos_url":"https://api.github.com/users/northworld/repos","events_url":"https://api.github.com/users/northworld/events{/privacy}","received_events_url":"https://api.github.com/users/northworld/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/northworld/ransack","description":"Object-based searching. ","fork":true,"url":"https://api.github.com/repos/northworld/ransack","forks_url":"https://api.github.com/repos/northworld/ransack/forks","keys_url":"https://api.github.com/repos/northworld/ransack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/northworld/ransack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/northworld/ransack/teams","hooks_url":"https://api.github.com/repos/northworld/ransack/hooks","issue_events_url":"https://api.github.com/repos/northworld/ransack/issues/events{/number}","events_url":"https://api.github.com/repos/northworld/ransack/events","assignees_url":"https://api.github.com/repos/northworld/ransack/assignees{/user}","branches_url":"https://api.github.com/repos/northworld/ransack/branches{/branch}","tags_url":"https://api.github.com/repos/northworld/ransack/tags","blobs_url":"https://api.github.com/repos/northworld/ransack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/northworld/ransack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/northworld/ransack/git/refs{/sha}","trees_url":"https://api.github.com/repos/northworld/ransack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/northworld/ransack/statuses/{sha}","languages_url":"https://api.github.com/repos/northworld/ransack/languages","stargazers_url":"https://api.github.com/repos/northworld/ransack/stargazers","contributors_url":"https://api.github.com/repos/northworld/ransack/contributors","subscribers_url":"https://api.github.com/repos/northworld/ransack/subscribers","subscription_url":"https://api.github.com/repos/northworld/ransack/subscription","commits_url":"https://api.github.com/repos/northworld/ransack/commits{/sha}","git_commits_url":"https://api.github.com/repos/northworld/ransack/git/commits{/sha}","comments_url":"https://api.github.com/repos/northworld/ransack/comments{/number}","issue_comment_url":"https://api.github.com/repos/northworld/ransack/issues/comments{/number}","contents_url":"https://api.github.com/repos/northworld/ransack/contents/{+path}","compare_url":"https://api.github.com/repos/northworld/ransack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/northworld/ransack/merges","archive_url":"https://api.github.com/repos/northworld/ransack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/northworld/ransack/downloads","issues_url":"https://api.github.com/repos/northworld/ransack/issues{/number}","pulls_url":"https://api.github.com/repos/northworld/ransack/pulls{/number}","milestones_url":"https://api.github.com/repos/northworld/ransack/milestones{/number}","notifications_url":"https://api.github.com/repos/northworld/ransack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/northworld/ransack/labels{/name}","releases_url":"https://api.github.com/repos/northworld/ransack/releases{/id}","deployments_url":"https://api.github.com/repos/northworld/ransack/deployments","created_at":"2018-07-13T23:36:36Z","updated_at":"2018-07-13T23:36:39Z","pushed_at":"2018-07-24T18:36:20Z","git_url":"git://github.com/northworld/ransack.git","ssh_url":"git@github.com:northworld/ransack.git","clone_url":"https://github.com/northworld/ransack.git","svn_url":"https://github.com/northworld/ransack","homepage":"http://ransack-demo.herokuapp.com","size":1479,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"activerecord-hackery:master","ref":"master","sha":"0de49a1de393258aa40b903a45105326f7730b5d","user":{"login":"activerecord-hackery","id":5951504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTE1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5951504?v=4","gravatar_id":"","url":"https://api.github.com/users/activerecord-hackery","html_url":"https://github.com/activerecord-hackery","followers_url":"https://api.github.com/users/activerecord-hackery/followers","following_url":"https://api.github.com/users/activerecord-hackery/following{/other_user}","gists_url":"https://api.github.com/users/activerecord-hackery/gists{/gist_id}","starred_url":"https://api.github.com/users/activerecord-hackery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activerecord-hackery/subscriptions","organizations_url":"https://api.github.com/users/activerecord-hackery/orgs","repos_url":"https://api.github.com/users/activerecord-hackery/repos","events_url":"https://api.github.com/users/activerecord-hackery/events{/privacy}","received_events_url":"https://api.github.com/users/activerecord-hackery/received_events","type":"Organization","site_admin":false},"repo":{"id":1548802,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4ODAy","name":"ransack","full_name":"activerecord-hackery/ransack","owner":{"login":"activerecord-hackery","id":5951504,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTE1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5951504?v=4","gravatar_id":"","url":"https://api.github.com/users/activerecord-hackery","html_url":"https://github.com/activerecord-hackery","followers_url":"https://api.github.com/users/activerecord-hackery/followers","following_url":"https://api.github.com/users/activerecord-hackery/following{/other_user}","gists_url":"https://api.github.com/users/activerecord-hackery/gists{/gist_id}","starred_url":"https://api.github.com/users/activerecord-hackery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activerecord-hackery/subscriptions","organizations_url":"https://api.github.com/users/activerecord-hackery/orgs","repos_url":"https://api.github.com/users/activerecord-hackery/repos","events_url":"https://api.github.com/users/activerecord-hackery/events{/privacy}","received_events_url":"https://api.github.com/users/activerecord-hackery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activerecord-hackery/ransack","description":"Object-based searching. ","fork":false,"url":"https://api.github.com/repos/activerecord-hackery/ransack","forks_url":"https://api.github.com/repos/activerecord-hackery/ransack/forks","keys_url":"https://api.github.com/repos/activerecord-hackery/ransack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activerecord-hackery/ransack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activerecord-hackery/ransack/teams","hooks_url":"https://api.github.com/repos/activerecord-hackery/ransack/hooks","issue_events_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/events{/number}","events_url":"https://api.github.com/repos/activerecord-hackery/ransack/events","assignees_url":"https://api.github.com/repos/activerecord-hackery/ransack/assignees{/user}","branches_url":"https://api.github.com/repos/activerecord-hackery/ransack/branches{/branch}","tags_url":"https://api.github.com/repos/activerecord-hackery/ransack/tags","blobs_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/refs{/sha}","trees_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/{sha}","languages_url":"https://api.github.com/repos/activerecord-hackery/ransack/languages","stargazers_url":"https://api.github.com/repos/activerecord-hackery/ransack/stargazers","contributors_url":"https://api.github.com/repos/activerecord-hackery/ransack/contributors","subscribers_url":"https://api.github.com/repos/activerecord-hackery/ransack/subscribers","subscription_url":"https://api.github.com/repos/activerecord-hackery/ransack/subscription","commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/commits{/sha}","git_commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/commits{/sha}","comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/comments{/number}","issue_comment_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/comments{/number}","contents_url":"https://api.github.com/repos/activerecord-hackery/ransack/contents/{+path}","compare_url":"https://api.github.com/repos/activerecord-hackery/ransack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activerecord-hackery/ransack/merges","archive_url":"https://api.github.com/repos/activerecord-hackery/ransack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activerecord-hackery/ransack/downloads","issues_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues{/number}","pulls_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls{/number}","milestones_url":"https://api.github.com/repos/activerecord-hackery/ransack/milestones{/number}","notifications_url":"https://api.github.com/repos/activerecord-hackery/ransack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activerecord-hackery/ransack/labels{/name}","releases_url":"https://api.github.com/repos/activerecord-hackery/ransack/releases{/id}","deployments_url":"https://api.github.com/repos/activerecord-hackery/ransack/deployments","created_at":"2011-03-31T00:34:25Z","updated_at":"2018-07-24T09:16:01Z","pushed_at":"2018-07-24T19:24:40Z","git_url":"git://github.com/activerecord-hackery/ransack.git","ssh_url":"git@github.com:activerecord-hackery/ransack.git","clone_url":"https://github.com/activerecord-hackery/ransack.git","svn_url":"https://github.com/activerecord-hackery/ransack","homepage":"http://ransack-demo.herokuapp.com","size":1477,"stargazers_count":3909,"watchers_count":3909,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":592,"mirror_url":null,"archived":false,"open_issues_count":75,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":592,"open_issues":75,"watchers":3909,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933"},"html":{"href":"https://github.com/activerecord-hackery/ransack/pull/933"},"issue":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/issues/933"},"comments":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/issues/933/comments"},"review_comments":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933/comments"},"review_comment":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/933/commits"},"statuses":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/24a4d4330aa8c59e5ffe7aa729920ac12e944fcd"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gregmolnar","id":752058,"node_id":"MDQ6VXNlcjc1MjA1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/752058?v=4","gravatar_id":"","url":"https://api.github.com/users/gregmolnar","html_url":"https://github.com/gregmolnar","followers_url":"https://api.github.com/users/gregmolnar/followers","following_url":"https://api.github.com/users/gregmolnar/following{/other_user}","gists_url":"https://api.github.com/users/gregmolnar/gists{/gist_id}","starred_url":"https://api.github.com/users/gregmolnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregmolnar/subscriptions","organizations_url":"https://api.github.com/users/gregmolnar/orgs","repos_url":"https://api.github.com/users/gregmolnar/repos","events_url":"https://api.github.com/users/gregmolnar/events{/privacy}","received_events_url":"https://api.github.com/users/gregmolnar/received_events","type":"User","site_admin":false},"comments":5,"review_comments":3,"maintainer_can_modify":false,"commits":1,"additions":57,"deletions":2,"changed_files":6}}
{"actor":{"display_login":"gregmolnar"}}