Is it possible to add a way just to check if a given string is a valid date?
validates:release_date,date: true@product.release_date="1/1/ab"@product.should_notbe_validFailure/Error: @product.should_notbe_validexpected#<Product id: nil, name: "Assassin's Creed", properties: {"platform"=>"PS3", "release_date"=>"31/12/ab"}> not to be valid
Is it possible to add a way just to check if a given string is a valid date?