I''ve made a inheritance rework some weeks ago that would possible fix it since it only loads the inheritance support in the class that''ll use it. In STI case, it would load only if the class that descends directly from AR has been inherited and the column specified in the inheritance_column is available. People here told me to wait until next release so we can dig into this, but if you''ve interesting in testing it out send me a message and i''ll send you the patch. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Rodrigo, If you''d like, grab the test case in my patch and see what happens with your inheritance impl. Kev On 8/23/06, Rodrigo Kochenburger <divoxx@gmail.com> wrote:> > I''ve made a inheritance rework some weeks ago that would possible fix > it since it only loads the inheritance support in the class that''ll use > it. > In STI case, it would load only if the class that descends directly > from AR has been inherited and the column specified in the > inheritance_column is available. > People here told me to wait until next release so we can dig into this, > but if you''ve interesting in testing it out send me a message and i''ll > send you the patch. > > > > >-- Kevin Clark http://glu.ttono.us --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
My patch seems to work properly. I''ve opened a ticket with my patch, in case anyone is interested. http://dev.rubyonrails.org/ticket/5991 Cheers. Kevin Clark wrote:> Rodrigo, > If you''d like, grab the test case in my patch and see what happens > with your inheritance impl. > > Kev > > On 8/23/06, Rodrigo Kochenburger <divoxx@gmail.com> wrote: > > > > I''ve made a inheritance rework some weeks ago that would possible fix > > it since it only loads the inheritance support in the class that''ll use > > it. > > In STI case, it would load only if the class that descends directly > > from AR has been inherited and the column specified in the > > inheritance_column is available. > > People here told me to wait until next release so we can dig into this, > > but if you''ve interesting in testing it out send me a message and i''ll > > send you the patch. > > > > > > > > > > > > -- > Kevin Clark > http://glu.ttono.us--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---