Module Mongoid::Relations::Conversions
In: lib/mongoid/relations/conversions.rb

Contains utility methods for object id conversion.

Methods

flag  

Public Instance methods

Mark the provided object as unconvertable to bson or not, and always return the provided object.

@example Flag the object.

  Conversions.flag(metadata, 15)

@param [ Object ] object The object to flag. @param [ Metadata ] The relation metadata.

@return [ Object ] The provided object.

@since 2.3.0

[Validate]