method
method_missing
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Delegation::ClassSpecificRelation
method_missing(method, *args, &block)private
No documentation available.
# File activerecord/lib/active_record/relation/delegation.rb, line 105
def method_missing(method, *args, &block)
if @klass.respond_to?(method)
@klass.generate_relation_method(method)
scoping { @klass.public_send(method, *args, &block) }
else
super
end
end