method

custom_validation_context?

rails latest stable - Class: ActiveRecord::Validations

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

custom_validation_context?()
public

No documentation available.

# File activerecord/lib/active_record/validations.rb, line 77
    def custom_validation_context? # :nodoc:
      validation_context && [:create, :update].exclude?(validation_context)
    end