method

compute_identifier

rails latest stable - Class: ActiveSupport::Callbacks::Callback

Method deprecated or moved

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

compute_identifier(filter)
public

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 370
          def compute_identifier(filter)
            case filter
            when ::Proc
              filter.object_id
            else
              filter
            end
          end