method

call

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ExplainSubscriber
call(*args) public

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/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
Register or log in to add new notes.