Skip to content

Commit

Permalink
Merge pull request #1089 from eikes/improve_ransackable_scopes_skip_s…
Browse files Browse the repository at this point in the history
…anitize_args_docs

Improves ransackable_scopes_skip_sanitize_args doc
  • Loading branch information
scarroll32 authored Nov 26, 2019
2 parents cdef85b + e055c0d commit a4540e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit a4540e3

Please sign in to comment.