aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2017-12-10 14:22:46 -0500
committerGitHub <noreply@github.com>2017-12-10 14:22:46 -0500
commit9b2180c7de0823f2561b9e359728c15a32ec3a7b (patch)
treecc2617d6aa0a5dace45ae4a5b362500ec3af86f7
parentcf0fcbe7f6fd52b3455af99b61ef2c40e6a0062e (diff)
parenta6031e40baabba916aab60cca595564d903880e1 (diff)
downloadrails-9b2180c7de0823f2561b9e359728c15a32ec3a7b.tar.gz
rails-9b2180c7de0823f2561b9e359728c15a32ec3a7b.tar.bz2
rails-9b2180c7de0823f2561b9e359728c15a32ec3a7b.zip
Merge pull request #31390 from lonre/patch-1
Remove whitespace
-rw-r--r--activemodel/lib/active_model/validations/validates.rb2
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 43d9f82d9f..e28e7e9219 100644
--- a/activemodel/lib/active_model/validations/validates.rb
+++ b/activemodel/lib/active_model/validations/validates.rb
@@ -154,7 +154,7 @@ module ActiveModel
# When creating custom validators, it might be useful to be able to specify
# additional default keys. This can be done by overwriting this method.
def _validates_default_keys
- [:if, :unless, :on, :allow_blank, :allow_nil , :strict]
+ [:if, :unless, :on, :allow_blank, :allow_nil, :strict]
end
def _parse_validates_options(options)