Update app/models/vacancy.rb

little refactor