Module: Mongoid::Document::ClassMethods
- Defined in:
- lib/custom_fields/extensions/mongoid/document.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#with_custom_fields? ⇒ Boolean
The mongoid default document returns always false.
Instance Method Details
#with_custom_fields? ⇒ Boolean
The mongoid default document returns always false. The documents with custom fields return true.
11 12 13 |
# File 'lib/custom_fields/extensions/mongoid/document.rb', line 11 def with_custom_fields? false end |