I've got a batch of a 100k or so records that I'm importing to a Rails app.
There's a date in each row formatted like the following: 03/17/81
However, when I try to just assign it to a date field, it gets converted as follows:
ruby-1.8.7-p174 > "03/17/81".to_date
=> Sat, 17 Mar 0081
Ultimately I would like the format to result in 1981-03-17
Would this best be done on the import or should I be overriding in my Rails config to set the date standard to the format I need and what's the right approach in Rails 2.3.5?