Ben Bangert wrote: > The polymorphic inheritance seems rather married to using the > column name by 'row_type', and as I have an existing schema I'd > like to use un-modified, it'd be great to be able to change > this. Unfortunately passing in additional mapper options of > polymorphic_on='my_col' doesn't seem to work. > > How abouts could I customize the column used for the polymorphic > joins?
After a quick glance at the code, it appears that we'd need to make a change to Elixir to make this happen in a clear way. Suggest what you think this should look like, and I'll see if I can get to it some time soon. -- Jonathan LaCour http://cleverdevil.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
