module Mongoid::Evolvable
Contains behaviour specific to evolving for origin queries.
Public Instance Methods
__evolve_object_id__()
click to toggle source
Evolve the document into an object id.
@example Evolve the document.
document.__evolve_object_id__
@return [ Object
] The document’s id.
@since 3.0.0
# File lib/mongoid/evolvable.rb, line 15 def __evolve_object_id__ id end