Use the unless
key instead of if
on the validation.
This will perform the validation unless the column is null, i.e., will perform validation if the column is not null.
http://guides.rubyonrails.org/active_record_validations.html#conditional-validation
-Jason