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