How Rails Saved a Seaport