method

call

rails latest stable - Class: ActiveRecord::ExplainSubscriber

Method deprecated or moved

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

call(*args)
public

No documentation available.

# File activerecord/lib/active_record/explain_subscriber.rb, line 5
    def call(*args)
      if queries = Thread.current[:available_queries_for_explain]
        payload = args.last
        queries << payload.values_at(:sql, :binds) unless ignore_payload?(payload)
      end
    end