On Jan 30, 2:26 pm, Ben Bangert <[EMAIL PROTECTED]> wrote: > 1) Instead of 'row_type', its 'child_name' (Which I set polymorphic= > to, and that fixed one part) > 2) Instead of using the lower-case inherited table name, it uses the > class title-case name > 3) Instead of having a primary key on the inherited tables of > 'parent_id', its just 'id'
So, I noticed Alexandre's patch, which helps me out on #3, and I've added one little thing so that passing polymorphic_identity in the using_mapper_options is *not* overriden, which fixes #2. So with this patch applied, I'm all good: http://sqlelixir.googlegroups.com/web/polymorphic_patch.diff That includes Alexandre's patch and the additional fix to not override polymorphic_identity. Cheers, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
