Is the symbol a valid value for a Mongoid id?
@example Is the string an id value?
:_id.mongoid_id?
@return [ true, false ] If the symbol is :id or :_id.
@since 2.3.1
# File lib/mongoid/extensions/symbol.rb, line 13 def mongoid_id? to_s.mongoid_id? end
Generated with the Darkfish Rdoc Generator 2.