module ActiveModelExtensions::Validations::ClassMethods
Public Instance Methods
validate_presence_by_custom_rules(*with)
click to toggle source
# File lib/rails_core_extensions/active_model_extensions.rb, line 40 def validate_presence_by_custom_rules(*with) validates_with CustomPresenceValidator, _merge_attributes(with) end