Associated models are validated when there is a custom validation context · Issue #38036 · rails/rails

Steps to reproduce After we upgraded from Rails 5.2.3 to Rails 5.2.4, one model cannot be saved due to validation errors. We found it was caused by the validation on an associated model which was n...