Sprint Afterglow

Posted by Daniel Lyons Mon, 29 Jan 2007 06:51:54 GMT

This is just the first of many posts about the Method Arts sprint I participated in tonight, but I wanted to jot a few things down while they’re fresh in the mind.

  1. Rails migrations are the best thing since sliced bread. Every database developer needs this pattern. However, it would be nice if they supported things like foreign key constraints. I was skeptical at first but now I’m a believer; Lance was right.
  2. Subversion should be central to all team development. I’ve been saying this for a long time, and you know what? I was right. We were all editing the same files at the same time and not having any problems. We had three conflicts all day, and all of them were easy to resolve. Basically, you fix the damn file and then do “svn resolved path/to/file” and then commit. Simple.
  3. I suspect, but I haven’t tried this, that a good thing you could use unit tests for without drinking the kool-aid would be to make a test for every bug you do fix. That would at least prevent recurring bugs, but wouldn’t imply the kind of massive annoying testing infrastructure that the cultists are advocating. I’d like to think on this more.
  4. Rails needs a good way to take an ActiveRecord database backup. It was inane to write migrations to create records. I’m sure there’s a better way but we couldn’t find it today.

More to come.

Tags , ,  | 3 comments