Ruby Development Small Ruby Date trick Well I don’t know if it’s a trick, but this sure was useful when I was coding up some sql reports. >> Date.new(2009, 1, -1).to_s => "2009-01-31" By Matt McMahand On May 1, 2009