[Rails] Re: STI and subclassing twice

2009-05-11 Thread José Ignacio
Interesting... That makes everything work as expected! Thanks > There's some funky stuff with STI that basically boils down to the > fact that if a class hasn't been loaded yet rails doesn't know it > exists (and so doesn't create the correct query). > One way of doing things is to force these cl

[Rails] Re: STI and subclassing twice

2009-05-11 Thread Frederick Cheung
On May 11, 8:52 am, José Ignacio wrote: > Any idea? I think there might be a bug here. I'm using Rails 2.3.2, but > I get the same behaviour in Rails 2.2.2. There's some funky stuff with STI that basically boils down to the fact that if a class hasn't been loaded yet rails doesn't know it exis

[Rails] Re: STI and subclassing twice

2009-05-11 Thread José Ignacio
Any idea? I think there might be a bug here. I'm using Rails 2.3.2, but I get the same behaviour in Rails 2.2.2. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rai