Just another little thing I love about ruby and the way it follows the Principle of Least Surprise: command history searching in irb with ctrl-R.
[aurora:~/work/scrumninja/trunk] dfl% irb
(reverse-i-search)`find': Project.find(1).stories.each(&:destroy)
I <3 Ruby! :)


December 14th, 2008 at 07:49 AM
Great! I didn't know that it also work for irb, I thought it only works for linux shells.
Thanks for sharing it