Inheritance (STI) models: name not propagating
Reported by Bryan Larsen | February 27th, 2009 @ 04:47 PM | in Hobo 1.0 - Final
I'm trying out STI and am writing up my experiences in a Recipe. I'm using Hobo 0.8.5
My base model doesn't have an explicit name, it's specified by adding :name => true to the field definition. However, this name does not propagate to my child models -- I have to add an explicit "name" function to the child models.
Comments and changes to this ticket
-
Tom Locke March 12th, 2009 @ 10:37 AM
- Milestone set to Hobo 1.0 - Final
- State changed from new to open
-
Matt Jones July 23rd, 2009 @ 03:07 AM
- Tag set to defect, migration-generator
- Assigned user set to Matt Jones
I have a fix for this in my hobo fork. It's on my list of things to merge back once I get a free minute.
-
Matt Jones November 10th, 2009 @ 04:25 AM
- State changed from open to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป