[Rails] Re: The need of IDs in ActiveRecord

Eric Anderson eric at afaik.us
Wed Jan 12 00:21:09 GMT 2005


Justin Rudd wrote:
>  Especially on child tables that can't exist
> without the parent.  Why should they have an independent ID when it
> will never be used?

Rails doesn't really support child tables anyway (yet). To do a child 
relationship it has a "type" field. So this type of data structure 
cannot be used in Rails anyway.

Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://one.textdrive.com/pipermail/rails/attachments/20050111/7f4a0715/signature.bin


More information about the Rails mailing list