I find myself repeatedly looking for a clear definition of the differences of nil?, blank?, and empty? in Ruby on Rails. Here\'s the
nil?
blank?
empty?
I made this useful table with all the cases:
blank?, present? are provided by Rails.
present?