Browse files

Merge pull request #31390 from lonre/patch-1

Remove whitespace
  • Loading branch information...
eileencodes committed Dec 10, 2017
2 parents cf0fcbe + a6031e4 commit 9b2180c7de0823f2561b9e359728c15a32ec3a7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/validations/validates.rb
@@ -154,7 +154,7 @@ def validates!(*attributes)
# 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]
def _parse_validates_options(options)

0 comments on commit 9b2180c

Please sign in to comment.