use validator from rubygems