#559 open
Matt Jones

Document that calling hobo_model in STI subclasses == FAIL

Reported by Matt Jones | November 30th, 2009 @ 04:42 PM | in Hobo 1.1

Calling hobo_model in an STI subclass double-aliases methods like create, which leads to nasty "stack level too deep" errors. We should either harden hobo_model against this case, or at least document that it shouldn't be used in that case.

Comments and changes to this ticket

  • Matt Jones

    Matt Jones December 1st, 2009 @ 08:51 PM

    • Assigned user set to “Matt Jones”
    • State changed from “new” to “open”
    • Tag changed from defect, models to documentation, models
    • Milestone changed from Hobo 1.0 - Final to Beyond Hobo 1.0

    For now, documenting this should be sufficient. I'll include it in the soon-to-appear docs for hobo_model.

  • Bryan Larsen

    Bryan Larsen February 19th, 2010 @ 07:16 PM

    • Tag changed from documentation, models to doc, models
    • Assigned user changed from “Matt Jones” to “Bryan Larsen”
    • Milestone changed from Beyond Hobo 1.0 to Hobo 1.1
  • Betelgeuse

    Betelgeuse July 26th, 2010 @ 11:52 AM

    • Milestone order changed from “0” to “0”

    I would prefer hardening too as it's quite hard to recover from stack level too deep issues.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages