Dudebot wrote:
[...]
> Frederick--I'm not sure how to use
> validates_uniqueness_of with more than one field--can that be done?

I'm going to suggest that you spend less time posting here and more time 
reading docs.  20 seconds of reading the documentation for 
validates_uniqueness_of would have told you about the :scope option. 
Look it up. :)

> 
> Again, many thanks,
> Craig
> 
> On Sep 25, 9:35�pm, Frederick Cheung <frederick.che...@gmail.com>

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to