Method: ActiveStorage::Attached::Changes::DetachOne#detach
- Defined in:
- activestorage/lib/active_storage/attached/changes/detach_one.rb
#detach ⇒ Object
11 12 13 14 15 16 |
# File 'activestorage/lib/active_storage/attached/changes/detach_one.rb', line 11 def detach if .present? .delete reset end end |