Module: Mongoid::Extensions::Object::Conversions::InstanceMethods

Defined in:
lib/mongoid/extensions/object/conversions.rb

Instance Method Summary collapse

Instance Method Details

#mongoidizeObject

Converts this object to a hash of attributes



16
17
18
# File 'lib/mongoid/extensions/object/conversions.rb', line 16

def mongoidize
  self.attributes
end