use `allow_blank` option instead
Merge pull request #16910 from kuldeepaggarwal/use-rails-options

use `allow_blank` option instead of custom condition