method

method_missing

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: Delegation
method_missing(method, *args, &block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/delegation.rb, line 119
      def method_missing(method, *args, &block)
        if @klass.respond_to?(method)
          scoping { @klass.public_send(method, *args, &block) }
        elsif arel.respond_to?(method)
          arel.public_send(method, *args, &block)
        else
          super
        end
      end
Register or log in to add new notes.