Composite Primary Keys - now works with Rails 1.1.6

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 ( 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:


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs