Module: Mongoid::Extensions::Object::Conversions
- Included in:
- Object
- Defined in:
- lib/mongoid/extensions/array/conversions.rb
Overview
This module converts objects into mongoid related objects.
Instance Method Summary collapse
-
#mongoidize ⇒ Object
Converts this object to a hash of attributes.
Instance Method Details
#mongoidize ⇒ Object
Converts this object to a hash of attributes
7 8 9 |
# File 'lib/mongoid/extensions/array/conversions.rb', line 7 def mongoidize self.attributes end |