Add scope without_deleted
Add a without_deleted scope to manually exclude paranoia-deleted records, which is essentially the paranoia_scope. Useful when using the option :without_default_scope or the unscoping of a paranoia-model was required. Aliased it to the paranoia_scope as opposed to the existing with_deleted scope.
Showing
Please
register
or
sign in
to comment