ActiveRecord validates_uniqueness_of with :date column

Hi, I have a column, "display_on" of type "date". Just running default scaffolding, validates_uniqueness_of :display_on doesn't work. Is this a bug or am I doing somthing wrong?