Rolling with Ruby on Rails
Subject:   id or not id
Date:   2007-02-08 17:41:19
From:   cevisu
Response to: id or not id

> You shouldn't be thinking about the IDs,
> they're only there for the sake of persistance,
> consider them the logical equivalent of
> an address in memory. It doesn't matter what the > number is, just that there *is* a number.
> Are there other reasons against the
> use of multiple integer column id's other than the > fact that
> ActiveRecord doesn't support it?

its only logical that you want to adress the 25th reply (altogether the 1003rd reply) to forum post #64 by the multi-column integer id 64,25 and not 64,1003.
url-naming is an important part of the user-interface.