E. Litwin wrote: > What is the primary key in the Product table? Is it 'id' or something > else? > > On May 4, 11:40�am, Shane Corbin <[email protected]>
It's actually 'Software ID', but I tried defining my class as follows with the same results: class Software < ActiveRecord::Base set_table_name "Product" # Not "Softwares" set_primary_key "Software ID" end -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

