Hi folks,
I use Rails 3.0.0.beta4
I want to add a validation on uniqueness on two attributes, that means that my model is valid if the couple of 'recorded_at'
and 'zipcode'
is unique.
On one attribute here is the syntax
validates :zipcode, :uniqueness => true
thanks