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?
exists? method can be used to check whether the data exists in the database or not. It returns boolean values either true or false.
exists?
true
false