[ruby-on-rails] How to understand nil vs. empty vs. blank in Ruby

One difference is that .nil? and .empty? are methods that are provided by the programming language Ruby, whereas .blank? is something added by the web development framework Rails.