7
也許這是一個愚蠢的問題,但我需要在一些表像多個主鍵...rails 3.0.12如何檢查我有哪個版本的activerecord?
create table t1
(
id int not null
id_something int not null
.
.
.
primary key (id, id_something)
)
我用Google搜索,我發現這個寶石http://rubygems.org/gems/composite_primary_keys
,但我找不到什麼ActiveRecord的版本做我有我使用的軌道3.0.12和紅寶石1.9.2p320
非常感謝你= D – Cloud1988