Method: Mongoid::Association::Options#dependent
- Defined in:
- lib/mongoid/association/options.rb
#dependent ⇒ String
Specify what happens to the associated object when the owner is destroyed.
20 21 22 |
# File 'lib/mongoid/association/options.rb', line 20 def dependent @options[:dependent] end |