Migration:Several field in primary key

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hail!. How I can use several fields in my primary key?

:id, it’s the only primary key… For example, i want to use :
Primary key (:id,:code).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEle0iL/7qrmQA7FkRAhRjAJ4opOmBlaX13hQ+re5XHhPm53I2kQCgr4Op
sJMpYGz0XyO3IKaUNuKr4PE=
=hQww
-----END PGP SIGNATURE-----

ActiveRecord does not support primary keys composed of multiple
attributes… at least at the moment.

-Jonathan.