Changes made in Ruby custom validator