Method: DataMapper::Resource#destroy!
- Defined in:
- lib/dm-core/resource.rb
#destroy! ⇒ Boolean
Destroy the instance, remove it from the repository, bypassing hooks
445 446 447 448 449 |
# File 'lib/dm-core/resource.rb', line 445 def destroy! return true if destroyed? _destroy(false) destroyed? end |