[Rails] Re: Single id column

Alan Bullock
Sat, 22 Jul 2006 10:40:58 -0000

"Fredrik Bertilsson" <frebe73@gmail.com> wrote
in message
news:e6f1507c08d5db29e91a796ca52a666a@ruby-forum.com...
> Is it true that Rails needs a single column to uniquely identify a row
> in table? If yes, doesn''t this limit the database design and
disables
> the use of Rails for legacy databases?
>
> /Fredrik

rails doesn''t currently support composite primary keys. Workarounds
have
been discussed on the list in the past but I don''t have any specific
posts
for you. Check the archives