Method: Mongoid::Extensions::Hash#mongoize
- Defined in:
- lib/mongoid/extensions/hash.rb
#mongoize ⇒ Hash | nil
Turn the object from the ruby type we deal with to a Mongo friendly type.
82 83 84 |
# File 'lib/mongoid/extensions/hash.rb', line 82 def mongoize ::Hash.mongoize(self) end |