I woke up today having dreamed some Ruby code. Even scarier, when I added it to the project, it actually worked.