In Ruby 1.87 I could do:
Date.parse (\"3/21/2011\")
Now in 1.9.2 I get:
ArgumentError: invalid date
I have always had difficulty parsing dates with Date.parse. My solution is gratutious of the chronic gem. I also like the strptime function found in another answer.
Date.parse
strptime