Displaying 1 result from an estimated 1 matches for "db_works_for_mysql_50".
2006 Jun 08
4
datetime fixture format for Mysql 5.0
...everal machines, most have Mysql 4.* and one has Mysql
5.0. On 4.*, the following erb for a fixture works fine:
updated_at: <%= 1.days.ago.to_s:db%>
But fails on 5.0. I had a similar deal when I had date fixtures, and
switched forrmats so that both 4.* and 5.0 were happy. is there
to_s:db_works_for_mysql_50() ? or similar?
Thanks
Forrest