Yes, the id needs to be the primary key. - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
On Thu, May 21, 2009 at 3:20 PM, Mk 27 <[email protected]> wrote: > > If I am going to build a sql database for use in rails (rather than > building it in rails), is there anything I need to know beyond using an > id column in every table? Does the id need to be the "primary key"? > -- > 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 -~----------~----~----~----~------~----~------~--~---

