Hi there, I am new to Ruby on Rails, in fact I am just assessing whether to use it. Anyhow, there is a system that I''d like to port to ruby on rails but in the data model there is a lot of class table inheritance, or table per subclass inheritance. I believe the only table inheritance supported is single table. Has been any progress in the implementation of class table inheritance in ruby on rails. When is this feature expected to be released ? Bests, Sergio Borràs _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Oct 22, 2005, at 12:14 PM, Sergi Borras wrote:> Anyhow, there is a system that I''d like to port to ruby on rails > but in the data model there is a lot of class table inheritance, > or table per subclass inheritance. I believe the only table > inheritance supported is single table. Has been any progress in the > implementation of class table inheritance in ruby on rails. When is > this feature expected to be released ?As soon as somebody implements it and submits a patch. :) No one on the core team (that I am aware of) is working on this feature, but many people on the list have expressed an interest in it. Hopefully someone is doing more than just dreaming for it. - Jamis
Sergi, I asked this question earlier this week (I''m also looking into the feasibility of a port) and I chose this path: http://johnwilger.com/articles/2005/09/29/class-table-inheritance-in- rails-with-postgresql It''s not true CTI as it uses views and it''s dependent on postgres, but it works... - jason On Oct 22, 2005, at 11:14 AM, Sergi Borras wrote:> Hi there, > > I am new to Ruby on Rails, in fact I am just assessing whether to > use it. > > Anyhow, there is a system that I''d like to port to ruby on rails > but in the data model there is a lot of class table inheritance, > or table per subclass inheritance. I believe the only table > inheritance supported is single table. Has been any progress in the > implementation of class table inheritance in ruby on rails. When is > this feature expected to be released ? > > Bests, > > Sergio Borràs > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
too bad no one on the ""core"" team is working on it because a such implementation really needs a very good understanding and knowledge on active record....it''s not a neat feature addition, it would be something really at the ""core"" of rails :) On 10/22/05, Jamis Buck <jamis-uHoyYlH2B+GakBO8gow8eQ@public.gmane.org> wrote:> On Oct 22, 2005, at 12:14 PM, Sergi Borras wrote: > > > Anyhow, there is a system that I''d like to port to ruby on rails > > but in the data model there is a lot of class table inheritance, > > or table per subclass inheritance. I believe the only table > > inheritance supported is single table. Has been any progress in the > > implementation of class table inheritance in ruby on rails. When is > > this feature expected to be released ? > > As soon as somebody implements it and submits a patch. :) No one on > the core team (that I am aware of) is working on this feature, but > many people on the list have expressed an interest in it. Hopefully > someone is doing more than just dreaming for it. > > - Jamis > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >