I think the important thing is that `hobo_model` only gets called once. Typical usage is to use it in the base model, but it may work if you don't use it in the base model and do use it in the child model.
Stress on the 'may' though, I haven't tried it that way. Bryan On Wed, Jul 6, 2011 at 1:51 AM, Raklet <[email protected]> wrote: > I am trying to implement multi table inheritance using the CITIER gem > (https://github.com/peterhamilton/citier/), but I gather from a recipe > discussion on single table inheritance that you have to leave out > "hobo_model" when inheriting from a class other than > ActiveRecord::Base. > > (See > http://cookbook.hobocentral.net/recipes/64-single-table-inheritance-with-children > > "class Agent < Profile # For STI > > # Leave out the hobo_model line. Without it, there is no tab for > the class (e.g. Agent tab). > # With it, the ^(*&% thing overflows the stack when creating, > editing, etc.") > > > Is there anyway to work around this? > > If there is, will hobo generate the correct form composed of fields > from separate but inherited models? > > -- > 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. > > -- 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.
