= Composite Primary Keys for ActiveRecords == Summary ActiveRecords/Rails famously doesn't support composite primary keys. This RubyGem extends the activerecord gem to provide CPK support. == Installation gem install composite_primary_keys == Usage require 'composite_primary_keys' class ProductVariation set_primary_keys :product_id, :variation_seq end pv = ProductVariation.find(345, 12) It even supports composite foreign keys for associations. See http://compositekeys.rubyforge.org for more. == Running Tests See test/README.tests.txt == Url http://compositekeys.rubyforge.org == Questions, Discussion and Contributions http://groups.google.com/compositekeys == Author Written by Dr Nic Williams, drnicwilliams@gmail. Contributions by many!
Project
globe-composite_primary_keys
Adds support for composite primary keys to ActiveRecord.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Project Readme