Oops, try again.
It looks like you didn't print each word from the user's text to the console.
puts "What is the text? " text = gets.chomp puts "What do you redact? " redact = gets.chomp words = text.split(" ") words.each do |word| if word != text print word + "" else print "REDACTED " end end