Joel Hoffman
Not a member
Joel Hoffman's latest activity
Monday, May 25 2009
-
Joel Hoffman commented at 6:59 PMI mean, this isn't hard to demonstrate. If i is an activerecord object with a date column named test_date,
>> i.test_date = '09-05-25' => "09-05-25" >> i.test_d...
-
Joel Hoffman commented at 6:45 PMThe above comment that the string is simply passed unmodified to the
database is incorrect. Dates assigned to ActiveRecord objects from
params are ultimately co...
Wednesday, March 04 2009
2019
Format two-digit years correctly
was updated
in Ruby on Rails
-
Joel Hoffman commented at 6:26 PMThis is the default behavior of Ruby's Date class. If the second option to Date._parse is true, 50-1-1 is parsed as Jan 1 2050, but it defaults to false, and ac...