87828 threads
2008 threads
2 emails from 1 person
what''s the recommended way to insert database agnostic timestamps in fixtures? at present, I''m using strftime to insert a mysql formatted time string but that would break my fixtures if I move to a different db. what''s everyone else doing?
never mind, I just found out about Time.now.to_s(:db) on the wiki: http://wiki.rubyonrails.com/rails/pages/ActiveRecordYamlFixtures