Verbose Logging

software development with some really amazing hair

T + G I F R

Articles tagged with "date"

Using Date Objects With Ruby Ranges

· Posted in Programming
I used to have some really ugly code to generate the archive links you see on the right column of this blog. It was terrible. Granted it was some of the first code I wrote on this blog, and I was cruising through it because I just wanted to get it done and working, but still, it's not really a valid excuse. It can be seen here. I had a thought the other day that it would be much better handled by the Range class, and boy was I right, although it…