Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix readme to use new style of setting primary keys.

  • Loading branch information...
commit 452ca05d970012db1dcbbf6165bba4e9a4834426 1 parent 6084674
Charlie Savage authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.rdoc
View
2  README.rdoc
@@ -13,7 +13,7 @@ This RubyGem extends the activerecord gem to provide CPK support.
require 'composite_primary_keys'
class ProductVariation
- set_primary_keys = :product_id, :variation_seq
+ self.primary_keys = :product_id, :variation_seq
end
pv = ProductVariation.find(345, 12)
Please sign in to comment.
Something went wrong with that request. Please try again.