module Paranoid42::Scoping::ClassMethods

Public Instance Methods

not_deleted() click to toggle source
# File lib/paranoid42/scoping.rb, line 7
def not_deleted
  where(deleted_at: nil)
end
only_deleted() click to toggle source
# File lib/paranoid42/scoping.rb, line 11
def only_deleted
  where.not(deleted_at: nil)
end