Sha256: 58ba44c1e3fc7ee5e98f1ea638d1aa8cd0d0e35092c94351b737b652d2b482a3

Contents?: true

Size: 507 Bytes

Versions: 4

Compression:

Stored size: 507 Bytes

Contents

* 0.1.4 *
	- it was important that #{primary_key} for composites --> 'key1,key2' and not 'key1key2'
	  so created PrimaryKeys class

* 0.0.1 * Initial version
 - set_primary_keys(*keys) is the activation class method to transform an ActiveRecord into
 		a composite primary key AR
 - find(*ids) supports the passing of 
 		- id sets: Foo.find(2,1), 
 		- lists of id sets: Foo.find([2,1], [7,3], [8,12]), 
 		- and even stringified versions of the above:
 		- Foo.find '2,1' or Foo.find '2,1;7,3'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
composite_primary_keys-0.1.4 CHANGELOG
composite_primary_keys-0.3.1 CHANGELOG
composite_primary_keys-0.3.2 CHANGELOG
composite_primary_keys-0.3.3 CHANGELOG