Ruby, Programming, Ruby on Rails, Web Development.
print 1 1 => nil p 1 1 => 1 #p can be very handy while debugging because, unlike #puts, you know exactly what values are being returned. > puts 1 1 => nil > puts '1' 1 => nil # notice how you can't really tell wither the return value is a string or a number. > p 1 1 => 1 > p '1' "1" b => "1" # with