ActiveRecord foreign_key, composite key question

Your question is more advanced than I can answer but the first part caught my attention.

I created a project a while back that had a special ID column. To make the migration work right I had to use:

You might want to check out and use:

http://compositekeys.rubyforge.org/

Maurice Fäh