Skip to content

Conversation

@JuanitoFatas
Copy link
Contributor

Summary

Fix a typo. We checked by using Object.present?

record.errors.add(attr_name, :present, **options) if value.present?

Other Information

N/A

@kamipo kamipo merged commit de8a404 into rails:master Mar 21, 2020
kamipo added a commit that referenced this pull request Mar 21, 2020
@JuanitoFatas JuanitoFatas deleted the doc/am-absence-validator branch March 22, 2020 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants