This question regards the Composite Primary Keys gem
(http://compositekeys.rubyforge.org/) :

Once I use set_primary_keys, should I also use

  validates_uniqueness_of to ensure that the composite primary key is
unique and

  attr_readonly to ensure that the attributes in the primary key would
not be overwritten?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to