Hi to everyone, First a little background noise. I''m working on an E-Commerce application in Rails and, at this stage, I''ve to relay on an existing db (MS SQL Server). The aforementioned db has all the tables with composite primary (and foreign) keys. So far I''ve been using :conditions on has_xxx and belongs_to to overcome the problem. I mean, until I found "composite_primary_keys" gem. I''ve installed the gem and it doesn''t work with MS SQL. The error is "uinitialized constant" at some point. Putting that aside, I would like to know how do you usually approach the composite primary key issue. Thanks in advance for your help. Regards, Carmine -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---