paranoia_test.rb
38 KB
-
Add scope without_deleted · aa73c8f3
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.
rbr committed