Monthly Archives: January 2010

ActiveRecord timestamp Conversions Fail — Sometimes

We recently started to see some timestamp-based tests fail seemingly at random. At first, the usual suspects in the form of time-dependencies were dragged in for a serious round of questioning, but to our surprise none of them were involved. The bad guy, it turns out, was the microsecond handling in ActiveRecord::ConnectionAdapters::Column#fast_string_to_time and ActiveRecord::ConnectionAdapters::Column#microseconds. It [...]

Posted in Rails | Tagged , , , , | 2 Comments

HostbasedAuthentication and net-ssh

A while ago, our Capistrano-based deployment procedure stopped working for some of the developers on the project. Sometimes it would simply “hang” (or at least stall for a very long time before being killed), sometimes it would exit with a Net::SSH::AuthenticationFailed exception when it attempted to connect to the remote servers. The strange thing was [...]

Posted in Rails | Tagged , , | Leave a comment