module ActiveAny::Delegation::ClassSpecificRelation
Private Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/active_any/relation/delegation.rb, line 74 def method_missing(method, *args, &block) if @klass.respond_to?(method) self.class.delegate_to_scoped_klass(method) scoping { @klass.public_send(method, *args, &block) } else super end end
respond_to_missing?(name, _)
click to toggle source
Calls superclass method
# File lib/active_any/relation/delegation.rb, line 83 def respond_to_missing?(name, _) super || @klass.respond_to?(name) end