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