When adding quick debugging lines I like to include the file, line number, and method name so that I can easily find them again. This snippet makes that really easy.
It gives you something like this:
puts "#{__FILE__}:#{__LINE__}:(in full_filename) debug infos"