I have used the set_primary_key with some 3rd party propriety
databases with no issues you describe.

Could you give us some more information (table structure and such) to
be able to help you adequately.


On Dec 22, 10:51 pm, Kenneth McDonald
<kenneth.m.mcdon...@sbcglobal.net> wrote:
> We are trying to use set_primary_key to cause an existing rails db to  
> use a different primary key. This works find for accessing existing  
> data, but gives an error when we try to add a new record, as it seems  
> to still be accessing the record by the default id field at that  
> point. Are there other changes we need to make to get an alternate  
> primary key working?
>
> Thanks,
> Ken
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to