[Ruby] Creating a small calendar system..

Joe Van Dyk joe at pinkpucker.net
Fri Jul 11 14:10:54 PDT 2008


>> On Fri, Jul 11, 2008 at 1:15 AM, Joe Van Dyk <joe at pinkpucker.net> wrote:
>> Hi,
>>
>> Using ActiveRecord, how would you setup the domain model for a system
>> that models calendar events?  Events have the option of recurring
>> every week or every month.  Need to be able to query what events are
>> going to happen on what day.
>>
>> I'm sorta scratching my head over this, but I'm sure it's simple.
>> Anyone want to get me on the right track?
>>
>> Thanks,
>> Joe
>
> On Fri, Jul 11, 2008 at 6:30 AM, Benjamin Curtis <ruby at bencurtis.com> wrote:
> When I do this, I always serialize the data in ical format.  Just as a RDBMS
> was made to store relational data, ical was made to store calendar data, so
> it makes sense to me to use it.

Hm, interesting.  I haven't looked at how ical works yet, any good
links?  Is http://icalendar.rubyforge.org/ probably my best bet?



More information about the Ruby mailing list