Method: Dynamoid::Associations::SingleAssociation#delete
- Defined in:
- lib/dynamoid/associations/single_association.rb
#delete ⇒ Object
22 23 24 25 26 |
# File 'lib/dynamoid/associations/single_association.rb', line 22 def delete target.send(target_association).disassociate(source.hash_key) if target && target_association disassociate target end |