created validator that uses schema each time the record is validated
use before_validation callback to dynamically validate length of each column