Module: Mongoid::Relations::Options
- Defined in:
- lib/custom_fields/extensions/mongoid/relations/options.rb
Instance Method Summary collapse
- #validate_with_custom_fields!(options) ⇒ Object (also: #validate!)
Instance Method Details
#validate_with_custom_fields!(options) ⇒ Object Also known as: validate!
7 8 9 10 11 |
# File 'lib/custom_fields/extensions/mongoid/relations/options.rb', line 7 def validate_with_custom_fields!() = .dup .delete(:custom_fields_parent_klass) validate_without_custom_fields!() end |