What does the list think about extending Active Record to use some of the patterns discribed by Martin Fowler and Richard T. Snodgrass. Maybe increasing the list of magic field names, having Acts as Temporal... This could provide the capabilites for a model this temporal tables. class CustomerAddress < ActiveRecord::Base acts_as_temporal :scope => ................ end Reference: http://www.cs.arizona.edu/people/rts/tdbbook.pdf [PDF warnning] http://www.martinfowler.com/ap2/timeNarrative.html
Hi Leon, While not rails-specific, have you seen runt.rubyforge.org? Regards, Trevor On 26-Aug-05, at 7:46 AM, Leon Leslie wrote:> What does the list think about extending Active Record to use some of > the patterns discribed by Martin Fowler and Richard T. Snodgrass. > > Maybe increasing the list of magic field names, having Acts as > Temporal... > > This could provide the capabilites for a model this temporal tables. > > class CustomerAddress < ActiveRecord::Base > acts_as_temporal :scope => ................ > end > > > Reference: > > http://www.cs.arizona.edu/people/rts/tdbbook.pdf [PDF warnning] > http://www.martinfowler.com/ap2/timeNarrative.html > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
well acts_as are in fact modules and dont effect ActiveRecord directly. you could write an acts_as_temporal module for ar and maybe even get it put into the ar distrabution, and if not would still be easy enough to drop into lib/ and use for your own applications. i havent read the article/book you talk of, but any acts_as modules are sure the core team arent afraid to look at. On 8/26/05, Leon Leslie <leonleslie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What does the list think about extending Active Record to use some of > the patterns discribed by Martin Fowler and Richard T. Snodgrass. > > Maybe increasing the list of magic field names, having Acts as Temporal... > > This could provide the capabilites for a model this temporal tables. > > class CustomerAddress < ActiveRecord::Base > acts_as_temporal :scope => ................ > end > > > Reference: > > http://www.cs.arizona.edu/people/rts/tdbbook.pdf [PDF warnning] > http://www.martinfowler.com/ap2/timeNarrative.html > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Zachery Hostens <zacheryph-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>