betelge...@pena ~/hobo/sti_testing $ ./script/console Loading development environment (Rails 2.3.8) >> Hobo::Model.all_models.*.name => ["User"] >> ChildModel.superclass => User(id: integer, crypted_password: string, salt: string, remember_token: string, remember_token_expires_at: datetime, name: string, email_address: string, administrator: boolean, created_at: datetime, updated_at: datetime, state: string, key_timestamp: datetime, type: string)
all_models is used to generated cards so this means that STI childs don't get cards. Only models that call hobo_model get included in the list but you can't do that for STI child classes: https://hobo.lighthouseapp.com/projects/8324/tickets/559-document-that-calling-hobo_model-in-sti-subclasses-fail Is this a feature or a bug? -- 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.
