Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add missing parentheses to validates_with documentation [skip ci]

  • Loading branch information...
commit e412ccbb563ea4abec6b4034094605e1565f56cc 1 parent b9774a5
Steve Agalloco stve authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/validations/with.rb
2  activemodel/lib/active_model/validations/with.rb
View
@@ -53,7 +53,7 @@ module ClassMethods
#
# Configuration options:
# * <tt>:on</tt> - Specifies when this validation is active
- # (<tt>:create</tt> or <tt>:update</tt>.
+ # (<tt>:create</tt> or <tt>:update</tt>).
# * <tt>:if</tt> - Specifies a method, proc or string to call to determine
# if the validation should occur (e.g. <tt>if: :allow_validation</tt>,
# or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>).
Please sign in to comment.
Something went wrong with that request. Please try again.