I've refactored this method since you cherry-picked it.  In your version, `allow_blank` is an optional flag; in the current version on master, it checks for blanks whenever you expect a non-blank `value`.  Please switch to the more recent version (and update the acceptance test accordingly)