Resources for working with ICalendar, Ruby, and Rails

Icalendar is not fun to work with. If only there was a library that would make it easy and pleasant. Alas, that does not seem to be the case, but there are places to start. There are 3 ICalendar libraries available as gems: iCalendar – version 1.1.3 released 3/2010 iCalendar home – rdoc RiCal – …

Continue reading ‘Resources for working with ICalendar, Ruby, and Rails’ »

Simple way to capitalize the first letter of each word in a string using Ruby

I am not infrequently looking to translate a string of either all lowercase or all uppercase characters to a string with the first character of each word capitalized.  I decided to see if I could come up with a quick and easy way to do this in Ruby.  This is what I came up with: …

Continue reading ‘Simple way to capitalize the first letter of each word in a string using Ruby’ »