Skip to content

Commit a4540e3

Browse files
authored
Merge pull request #1089 from eikes/improve_ransackable_scopes_skip_sanitize_args_docs
Improves ransackable_scopes_skip_sanitize_args doc
2 parents cdef85b + e055c0d commit a4540e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ To turn this off on a per-scope basis Ransack adds the following method to
757757
Add the scope you wish to bypass this behavior to ransackable_scopes_skip_sanitize_args:
758758

759759
```ruby
760-
def ransackable_scopes_skip_sanitize_args
760+
def self.ransackable_scopes_skip_sanitize_args
761761
[:scope_to_skip_sanitize_args]
762762
end
763763
```

0 commit comments

Comments
 (0)