rubocop / rails-style-guide

A community-driven Ruby on Rails style guide
http://rails.rubystyle.guide
6.47k stars 1.06k forks source link

Add Custom Validation Methods naming guideline #281

Closed pirj closed 3 years ago

pirj commented 3 years ago

Fixes #223

Better viewed as https://github.com/rubocop-hq/rails-style-guide/blob/custom-validation-method-naming/README.adoc#custom-validation-methods

pirj commented 3 years ago

/cc @yjukaku

pirj commented 3 years ago

@koic Does this guideline look good to you?

pirj commented 3 years ago

I'll merge this. We can improve it basing on the feedback that is more likely to happen when it's published.