diff options
author | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 10:42:56 -0400 |
---|---|---|
committer | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 12:34:30 -0400 |
commit | 2aa8e0a56f39f0a44f4deb19c856314a7a473b2f (patch) | |
tree | 681bde8bf44ea85dae3c06e1e361a18b165f959c /activemodel | |
parent | d472229f1fb76f73b6bc678191057a554ce52f51 (diff) | |
download | rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.gz rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.bz2 rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.zip |
Inclusive Language in Documentation Examples [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/validations/validates.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/validates.rb b/activemodel/lib/active_model/validations/validates.rb index e28e7e9219..475251aee1 100644 --- a/activemodel/lib/active_model/validations/validates.rb +++ b/activemodel/lib/active_model/validations/validates.rb @@ -63,7 +63,7 @@ module ActiveModel # and strings in shortcut form. # # validates :email, format: /@/ - # validates :gender, inclusion: %w(male female) + # validates :subscribed_to_newsletter, inclusion: [true, false] # validates :password, length: 6..20 # # When using shortcut form, ranges and arrays are passed to your |