Api-docs validation defaults missing absence [ci skip]

This commit is contained in:
Richard 2019-12-18 13:10:04 +00:00
parent 36094d3745
commit e58f41af2d
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module ActiveModel
#
# Examples of using the default rails validators:
#
# validates :username, absence: true
# validates :terms, acceptance: true
# validates :password, confirmation: true
# validates :username, exclusion: { in: %w(admin superuser) }