Method: DataMapper::Types::Paranoid::ClassMethods#with_deleted
- Defined in:
- lib/dm-types/paranoid/base.rb
#with_deleted ⇒ Object
39 40 41 |
# File 'lib/dm-types/paranoid/base.rb', line 39 def with_deleted with_exclusive_scope({}) { block_given? ? yield : all } end |