I've had tests like that. We had programmers that would write tests that would break as soon as the next year rolled around. I had a bit of a career fixing those at my previous job.
At least, code should live in UTC. We've got a rule where I work (wherever I work that I get to make rules) that timestamps include the time zone always, and are preferred to be in UTC when in the database.
Then convert from/to the user's time zone on input/output.
The team before this one used local time, but is country-wide. So... chaos in the legacy databases.
When I type gem server, it starts a local web server I can use to look at all gem's rdocs. But the formatting is awful. Can I add toss some CSS into a directory somewhere to make it actually be readable?
Use the raise or fail method as you would for any other Ruby script (fail is an alias for raise). This method takes a string or exception as an argument which is used as the error message displayed at termination of the script. This will also cause the script to return the value 1 to the calling ...