README.rdoc in composite_primary_keys-14.0.4 vs README.rdoc in composite_primary_keys-14.0.5

- old
+ new

@@ -1,10 +1,10 @@ = Composite Primary Keys for ActiveRecords == Summary -ActiveRecords infamously doesn't support composite primary keys. +ActiveRecord infamously doesn't support composite primary keys. This gem, composite_primary_keys, or CPK for short, extends ActiveRecord to support composite keys. == Installation @@ -70,10 +70,10 @@ MembershipStatus.primary_key # => "id" # normal single key Membership.primary_key # => [:user_id, :group_id] # composite keys Membership.primary_key.to_s # => "user_id,group_id" -Now we want to be able to find instances using the same syntax we always use for ActiveRecords… +Now we want to be able to find instances using the same syntax we always use for ActiveRecords. MembershipStatus.find(1) # single id returns single instance => <MembershipStatus:0x392a8c8 @attributes={"id"=>"1", "status"=>"Active"}> Membership.find([1,1]) # composite ids returns single instance