Comprehensive guide to the blank? method in Rails
TL;DR: The blank? method returns true if the object is nil, an empty value (string, array or hash), a whitespace-only string or false.
Definition
The blank? method is a Rails extension to Ruby's Object class. It is used to determine if an object is...
blog.alexandrecalaca.com7 min read
Alexandre Calaça
All my other articles can be seen here: blog.alexandrecalaca.com/archive.