Here''s the scenario: I have a table that looks something like: containers ---------------------------- id name external_id created_ts and another for tracking like: trackings ----------------------------------- id created_ts event trackable_id trackable_type My containers table (along with a few others) has a polymorphic relationship to trackings. Normally, trackings would map to containers by the container''s ''id'', but I want to see if I can have it reference containers by the external_id, which comes from an external application after the record is created and will be unique. Is this possible? Thanks in advance for any info. Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---