The strings will be nil, not blank. But as I mentioned above, it enters the correct part of the if statement, but doesn't raise an error.