Permalink
Browse files

Fix readme to use new style of setting primary keys.

  • Loading branch information...
1 parent 6084674 commit 452ca05d970012db1dcbbf6165bba4e9a4834426 @cfis cfis committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -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)

0 comments on commit 452ca05

Please sign in to comment.