Skip to content

Document with_deleted scope in README - #80

Merged
simi merged 1 commit into
masterfrom
docs-with-deleted-scope
Jul 18, 2026
Merged

Document with_deleted scope in README#80
simi merged 1 commit into
masterfrom
docs-with-deleted-scope

Conversation

@simi

@simi simi commented Jul 18, 2026

Copy link
Copy Markdown
Owner

The with_deleted scope shipped in v0.7.0 (#77) but was never documented in the README.

This adds a Usage entry explaining that — unlike unscoped, which removes all scoping — with_deleted removes only the soft-delete default scope, so it can be chained onto an
existing query. It also notes the requirement: Mongoid 9+ with Mongoid.allow_scopes_to_unset_default_scope = true (the default from Mongoid 10).

@simi
simi merged commit 98aa13d into master Jul 18, 2026
28 checks passed
@simi
simi deleted the docs-with-deleted-scope branch July 18, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant