Module: DataMapper::Types::Paranoid::ClassMethods
- Defined in:
- lib/dm-types/paranoid/base.rb
Overview
module Base
Instance Method Summary collapse
Instance Method Details
#with_deleted ⇒ Object
32 33 34 |
# File 'lib/dm-types/paranoid/base.rb', line 32 def with_deleted with_exclusive_scope({}) { block_given? ? yield : all } end |