[Ruby] Creating a small calendar system..
Benjamin Curtis
ruby at bencurtis.com
Fri Jul 11 14:13:39 PDT 2008
Yes, and check out the vpim gem, too.
--
Benjamin Curtis
http://railskits.com/ - Ready-made Rails code
http://catchthebest.com/ - Team-powered recruiting
http://www.bencurtis.com/ - Personal blog
On Fri, Jul 11, 2008 at 2:10 PM, Joe Van Dyk <joe at pinkpucker.net> wrote:
> >> 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?
> _______________________________________________
> Ruby at zenspider.com - Seattle.rb non-commercial list
> http://www.zenspider.com/seattle.rb
> http://www.zenspider.com/mailman/listinfo/ruby
>
More information about the Ruby
mailing list