A hack toward a DTR library for use with Rails