Method: Mongoid::Extensions::String::ClassMethods#mongoize
- Defined in:
- lib/mongoid/extensions/string.rb
#mongoize(object) ⇒ String
Turn the object from the ruby type we deal with to a Mongo friendly type.
202 203 204 |
# File 'lib/mongoid/extensions/string.rb', line 202 def mongoize(object) demongoize(object) end |