composite_primary_keys 0.6.3
ActiveRecords only support a single primary key, preventing their use on legacy databases where tables have primary keys over 2+ columns. This solution allows an ActiveRecord to be extended to support multiple keys using the class method set_primary_keys.
Gemfile:
=
安装:
=
Runtime 依赖 (1):
activerecord
>= 1.14.3