aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-26 01:12:24 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-26 01:12:24 +0100
commit4c7c4061558bb8781da0d54159e3cebcb0a8c07a (patch)
tree7a8a726ddb78df6425241325f96a0f2c41ba98f8 /activemodel/lib
parent759eb36054f6a5418f351e0f0fb0a413ed47b8de (diff)
downloadrails-4c7c4061558bb8781da0d54159e3cebcb0a8c07a.tar.gz
rails-4c7c4061558bb8781da0d54159e3cebcb0a8c07a.tar.bz2
rails-4c7c4061558bb8781da0d54159e3cebcb0a8c07a.zip
Remove reference to unexistent methods and fix typo.
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/validations.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb
index ba8648f8c9..6013cdb23b 100644
--- a/activemodel/lib/active_model/validations.rb
+++ b/activemodel/lib/active_model/validations.rb
@@ -112,7 +112,6 @@ module ActiveModel
# end
# end
#
- # This usage applies to +validate_on_create+ and +validate_on_update as well+.
def validate(*args, &block)
options = args.last
if options.is_a?(Hash) && options.key?(:on)