Update validate.rb

Added little explanation about attribute