Due to the foolish implied assumption that there’d never be a revision
to activerecord library, the Composite Primary Key code promptly broke
for anyone who updated their apps to Rails 1.1.6 (with its
Now the gem dependencies are fixed and your legacy databases are free to
wield composite primary keys without fear again.
Composite Primary Keys (http://compositekeys.rubyforge.org/) is an
extension to ActiveRecords to provide support for composite primary keys
(Duh!) in a simple, transparent way. Your single primary key code should
work with a composite primary key model. Associations can even include
composite foreign keys.
Dr Nic’s Blog: http://drnicwilliams.com