Class | Mongoid::Relations::One |
In: |
lib/mongoid/relations/one.rb
|
Parent: | Proxy |
This is the superclass for one to one relations and defines the common behaviour or those proxies.
Since method_missing is overridden we should override this as well.
@example Does the proxy respond to the method?
relation.respond_to?(:name)
@param [ Symbol ] name The method name.
@return [ true, false ] If the proxy responds to the method.
@since 2.1.8