aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-08-20 11:08:25 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2010-08-20 11:08:25 -0400
commit87398e531d0bb23b30787fe26d86678dba322895 (patch)
tree0e336e14547155bc49775063e59fe1993cbaede6 /activemodel
parentc24aa2f2dca52e1b0ee644e407389f6e89f53007 (diff)
downloadrails-87398e531d0bb23b30787fe26d86678dba322895.tar.gz
rails-87398e531d0bb23b30787fe26d86678dba322895.tar.bz2
rails-87398e531d0bb23b30787fe26d86678dba322895.zip
Patch for Lighthouse ticket #5419 has been been applied. So reverting this one.
Revert "documentation regarding after_validation" This reverts commit c24aa2f2dca52e1b0ee644e407389f6e89f53007.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/validations/callbacks.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/validations/callbacks.rb b/activemodel/lib/active_model/validations/callbacks.rb
index c3e74bcc8b..afd65d3dd5 100644
--- a/activemodel/lib/active_model/validations/callbacks.rb
+++ b/activemodel/lib/active_model/validations/callbacks.rb
@@ -14,13 +14,11 @@ module ActiveModel
# include ActiveModel::Validations::Callbacks
#
# before_validation :do_stuff_before_validation
- # after_validation :do_stuff_after_validation
+ # after_validation :do_tuff_after_validation
# end
#
# Like other before_* callbacks if <tt>before_validation</tt> returns false
# then <tt>valid?</tt> will not be called.
- #
- # If validation fails then <tt>after_validation</tt> will not be called.
extend ActiveSupport::Concern
included do