Method: Mongoid::Relations::Proxy#method_missing
- Defined in:
- lib/mongoid/relations/proxy.rb
#method_missing(name, *args, &block) ⇒ Object (protected)
Default behavior of method missing should be to delegate all calls to the target of the proxy. This can be overridden in special cases.
103 104 105 |
# File 'lib/mongoid/relations/proxy.rb', line 103 def method_missing(name, *args, &block) target.send(name, *args, &block) end |