Method: Mongoid::Extensions::Array#mongoize
- Defined in:
- lib/mongoid/extensions/array.rb
#mongoize ⇒ Array
Turn the object from the ruby type we deal with to a Mongo friendly type.
89 90 91 |
# File 'lib/mongoid/extensions/array.rb', line 89 def mongoize ::Array.mongoize(self) end |