method
custom_validation_context?
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::AutosaveAssociation
custom_validation_context?()private
No documentation available.
# File activerecord/lib/active_record/autosave_association.rb, line 504
def custom_validation_context?
validation_context && [:create, :update].exclude?(validation_context)
end