Maybe this is a stupid question, but I need some primary keys in some tables, for example ...
create table t1 ( id int not null id_something int not null . . . primary key (id, id_something) )
I googled and I found this gem http://rubygems.org/gems/composite_primary_keys
but I could not find that I have an activerecord version
I use rails 3.0.12 and ruby 1.9.2p320
ruby-on-rails-3 rails-activerecord
Cloud1988
source share