Update validations.rb