Also, per your ruby performance book, using .nil? is less performant. unless name is sufficient.