RubyGems Navigation menu

composite_primary_keys 0.3.1

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 14.0.9 - December 04, 2023 (73 KB)
  2. 14.0.8 - November 25, 2023 (73 KB)
  3. 14.0.7 - November 04, 2023 (73 KB)
  4. 14.0.6 - February 05, 2023 (72 KB)
  5. 14.0.5 - February 04, 2023 (72 KB)
  6. 0.3.1 - July 22, 2006* (20.5 KB)
Show all versions (196 total)

Runtime Dependencies (1):

activerecord = 1.14.3

Owners:

Authors:

  • Dr Nic Williams

SHA 256 checksum:

6ea030d32148693b2e8d51a49f3daa61f9aa7e7b2d61ace92e6b7bcee1236954

Total downloads 18,024,902

For this version 4,381

Licenses:

N/A

Required Ruby Version: > 0.0.0

Links: