I was using before_validation, to do a few updates to the models before they are being validated and later on – saved.
Apparently, the validation callbacks aren’t called when you save without validation.
What callback should I use to make sure this code runs before the save and before validation if it exists?
Skipping validation sounds like a workaround. You’re better off calling validations conditionally if there are cases when you don’t want to validate. That way it’s testable as well.
This seems pretty hacky but…