What does the pipe in this example do? @first_name = @first_name || '' According to the text book that this example came from, the code ensures that an instance variable is not nil. If @first_ name is nil, @first_ name is set to the empty string. Thank you. -- Posted via http://www.ruby-forum.com/.