method

respond_to?

rails latest stable - Class: ActiveRecord::Relation

Method deprecated or moved

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

respond_to?(method, include_private = false)
public

No documentation available.

# File activerecord/lib/active_record/relation.rb, line 97
    def respond_to?(method, include_private = false)
      arel.respond_to?(method, include_private)     ||
        Array.method_defined?(method)               ||
        @klass.respond_to?(method, include_private) ||
        super
    end