[Rails-core] Composite primary key support in ActiveRecord?
Diego Algorta Casamayou
diego.algorta at gmail.com
Sat Feb 18 21:45:19 GMT 2006
2006/2/18, Michael Koziarski <michael at koziarski.com>:
> > I know that supporting composite keys is not a MUST, but it's a SHOULD.
>
> > I understand ActiveRecord doesn't support it now in favor of
> > simpleness, but aventually it should have that option.
>
> It won't, for the same reasons we don't support all the other DBA
> centric options. The costs outweight the benefits.
Ok. that's all I need to know. I can live with that. AR is too good to
not use it because of that.
>
> If you want to work this way, the soon-to-be-real rbatis persistence
> is your best option.
I don't know rbatis. I suppose I'll know soon. :-D
Cheers,
diegal
More information about the Rails-core
mailing list