Method: Immortal::ClassMethods#count_only_deleted

Defined in:
lib/immortal.rb

#count_only_deleted(*args) ⇒ Object



49
50
51
52
53
# File 'lib/immortal.rb', line 49

def count_only_deleted(*args)
  without_default_scope do
    where(deleted: true).count(*args)
  end
end