Oh. right. I can drop the validation (since this is automatically generated) and keep the db constraint - then I can do the initialization in the before_create callback.