ValidatesTeamViewerId Install Add to Gemfile and bundle gem "validates_team_viewer_id" Usage class Session validates :support_id, team_viewer_id: true end License This project rocks and uses MIT-LICENSE.