aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-04-26 15:47:29 -0700
committerZachary Scott <e@zzak.io>2015-04-26 15:47:29 -0700
commitdee4fbc90be183fc1596ad9c59d9ba1fbdb16ce7 (patch)
tree943c60de4b9eca5751ed12aa574751e12667c2d2 /activemodel
parent3427e66d661b107882bb948a3cda04838dda16c6 (diff)
downloadrails-dee4fbc90be183fc1596ad9c59d9ba1fbdb16ce7.tar.gz
rails-dee4fbc90be183fc1596ad9c59d9ba1fbdb16ce7.tar.bz2
rails-dee4fbc90be183fc1596ad9c59d9ba1fbdb16ce7.zip
Don't document private internal constant [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/validations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb
index 74d60327d6..c1019169e1 100644
--- a/activemodel/lib/active_model/validations.rb
+++ b/activemodel/lib/active_model/validations.rb
@@ -87,6 +87,7 @@ module ActiveModel
validates_with BlockValidator, _merge_attributes(attr_names), &block
end
+ # :nodoc:
VALID_OPTIONS_FOR_VALIDATE = [:on, :if, :unless, :prepend].freeze
# Adds a validation method or block to the class. This is useful when