Fix undefined method

String#blank? is not defined by default. Use String#empty? instead.

This wasn't being catched in the tests because webrat monkeypatches String.