On Sep 9, 7:24 pm, Tom Locke <[EMAIL PROTECTED]> wrote: > Before I say anything - note that STI is an aspect of Hobo that's not > had a lot of attention, so you may run into hobo bugs. I'll try to fix > them if you do.
I know that :) I created a test application with some STI models (and other specific issues( because people in #hobo asked about the correct usage of inheritance with hobo. And I'm trying to keep this app always up-to-date with hobo and rails. I'm not really a fan of STI, but it's the implementation of inheritance rails provides without workarounds. If you say hobo needs something better, then I'd forget it imedeately :) > You're declaring hobo_user_model in both classes which is not needed > and is causing the problem. User is a hobo_user_model, so Teacher is > too, by inheritance. This is because 0.7.x (not sure which version) did not recognize subclasses as a hobo_model, and we came to the conclusion that hobo_model inside a subclass solves it. So I thought it might be needed for hobo_user_models aswell. Some of the encountered problems might as well be caused by ruby 1.8.7 (debian), some releases were buggy which led to a lot of confusion. I'll try to let the models inherit everything, and report back. Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
