Method: Mongoid::Config#destructive_fields
- Defined in:
- lib/mongoid/config.rb
#destructive_fields ⇒ Array<String>
Return field names that could cause destructive things to happen if defined in a Mongoid::Document.
74 75 76 |
# File 'lib/mongoid/config.rb', line 74 def destructive_fields Components.prohibited_methods end |