[Ruby] Creating a small calendar system..

Benjamin Curtis ruby at bencurtis.com
Fri Jul 11 06:30:12 PDT 2008


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.

--
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 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
> _______________________________________________
> 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