Mon Oct 24
#
Tip
Use
Tip
Use raise instead of puts for debugging
When you might normally resort to so-called “printf debugging”, use raise instead. So instead of the classic:
puts "DEBUG: #{some_value_that_isnt_right}"
use:
raise some_value_that_isnt_right.inspect
Make your messes in such a way that you can’t forget to clean them up.
#
“ I want to support re-writing instruction sequence on Ruby level. ”
SASADA Koichi
#
“ The combined effects of the new testing defaults in Rails 1.0 make your tests go faster. And when you’re running tests after every change, every second counts… ”
Mike Clark walks through why testing is faster with Rails 1.0
#
“ Only post things that are awesome. ”
Marcel Molina Jr.