You get the same result with or without
allow_nil
. Demonstration. And your question wasn't about nil, update your question please.