There seems to be a discrepancy between the two document pages below, one creating the callback before_validation and the other creating the callback validation. He has evolutionwriters.com writing since ages. In any case, I am not successful with either version. In case you utilize the "before_validation" setting, "company_record" then it would be zero. When using "validation" my method can't call at all.
There seems to be a discrepancy between the two document pages below, one creating the callback before_validation and the other creating the callback validation. He has evolutionwriters.com writing since ages. In any case, I am not successful with either version. In case you utilize the "before_validation" setting, "company_record" then it would be zero. When using "validation" my method can't call at all.