From e412ccbb563ea4abec6b4034094605e1565f56cc Mon Sep 17 00:00:00 2001 From: Steve Agalloco Date: Fri, 4 Apr 2014 11:19:39 -0400 Subject: add missing parentheses to validates_with documentation [skip ci] --- activemodel/lib/active_model/validations/with.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/validations/with.rb b/activemodel/lib/active_model/validations/with.rb index 7022f9bee5..ff41572105 100644 --- a/activemodel/lib/active_model/validations/with.rb +++ b/activemodel/lib/active_model/validations/with.rb @@ -53,7 +53,7 @@ module ActiveModel # # Configuration options: # * :on - Specifies when this validation is active - # (:create or :update. + # (:create or :update). # * :if - Specifies a method, proc or string to call to determine # if the validation should occur (e.g. if: :allow_validation, # or if: Proc.new { |user| user.signup_step > 2 }). -- cgit v1.2.3