replace errors.add_to_base by errors[:base]