Shouldn’t validate_confirmation
only cause an error if the the changeset has a change for that field but not for the field_confirmation
field?
It looks like it looks at the changeset params
instead of changes
source
If that doesn’t make sense, how would I require confirmation on a field but only if it’s changed? validate_change
?
And if so, I feel like I’m reimplementing validate_confirmation
I feel like it would make sense to work similar to how validate_format
works, it only cares about the format for a change not the params