Get a list of methods that would be a bad idea to define as field names or override when including Mongoid::Document.
@example Bad thing!
Mongoid::Components.prohibited_methods
@return [ Array<Symbol> ]
@since 2.1.8
# File lib/mongoid/components.rb, line 85 def prohibited_methods @prohibited_methods ||= MODULES.flat_map do |mod| mod.instance_methods.map{ |m| m.to_sym } end end
Generated with the Darkfish Rdoc Generator 2.