Merge pull request #1089 from eikes/improve_ransackable_scopes_skip_sanitize_args_docs

Improves ransackable_scopes_skip_sanitize_args doc
This commit is contained in:
Sean 2019-11-26 09:46:23 +01:00 committed by GitHub
commit a4540e3e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ To turn this off on a per-scope basis Ransack adds the following method to
Add the scope you wish to bypass this behavior to ransackable_scopes_skip_sanitize_args:
```ruby
def ransackable_scopes_skip_sanitize_args
def self.ransackable_scopes_skip_sanitize_args
[:scope_to_skip_sanitize_args]
end
```