On 17 May 2011 20:57, TomRossi7 [email protected] wrote:
ActiveRecord, by default, parses strings using the Date.parse method. I’m
trying to figure out how to tell it to use the comp=true option so it will
parse two-digit years more logically. Currently, the default is false which
allows you to say person.birthday= ‘10/29/75’ and it parses that as October
29th of the year 0075.
Is the above in reply to my questions or are you just asking the same
question again? If it is in reply to my post then try again, quoting
my reply and answering the questions.
Another question, where are the date strings coming from? User input?
Don’t forget to answer the questions in the first post though.