@calendar = MyCalendarModel.find
RiCal.Calendar do |ical|
ical.add_x_property 'X-WR-CALNAME', 'My Calendar'
@calendar.events_since(31.days.ago).each do |e|
ical.event do |ievent|
....
end
end
end.export
Something like that...
HTH, Adam Williams
> --
>
> You received this message because you are subscribed to the Google Groups "RiCal" group.
> To post to this group, send email to
rica...@googlegroups.com.
> To unsubscribe from this group, send email to
rical_gem+...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/rical_gem?hl=en.
>
>