Fri Feb 01 17:39:00 UTC 2008
fast date values for fixtures
one of my annoyances while porting to rails 2 … and edge has to do with fixtures. they’ve decided to use the rathole plugin . . . but alas i was using the fixture_references plugin, and it seems they do not play nicely together. however, one thing i have learned is that i can do this:
3.weeks.ago.to_s(:db) => "2008-01-11 17:38:26" >> (Time.now + 3.weeks).to_s(:db) => "2008-02-22 17:38:42" >>

Leave a Comment