ICS Builder requires Rails v2.1.
It also requires the icalendar gem.
$ sudo gem install icalendar
Add events to your calendar file in the template.
@events.each do |event| calendar.event do dtstart(event.start_time) dtend(event.end_time) summary(event.title) description(event.description) end end
You can set the default filename for that a browser will use for ‘save as’ by setting @filename
instance variable in your controller’s action method e.g.
@filename = 'events.ics'
Copyright © 2008 Russ Smith, released under the MIT license