method

respond_to?

rails latest stable - Class: ActiveRecord::DynamicMatchers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

respond_to?(name, include_private = false)
public

No documentation available.

# File activerecord/lib/active_record/dynamic_matchers.rb, line 3
    def respond_to?(name, include_private = false)
      if self == Base
        super
      else
        match = Method.match(self, name)
        match && match.valid? || super
      end
    end