add ruby validation error messages if try to violate hirarchy