From 2aa8e0a56f39f0a44f4deb19c856314a7a473b2f Mon Sep 17 00:00:00 2001 From: Cassidy Kobewka Date: Sun, 15 Apr 2018 10:42:56 -0400 Subject: Inclusive Language in Documentation Examples [ci skip] --- activemodel/lib/active_model/validations/validates.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib') 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 -- cgit v1.2.3