From 87398e531d0bb23b30787fe26d86678dba322895 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Fri, 20 Aug 2010 11:08:25 -0400 Subject: Patch for Lighthouse ticket #5419 has been been applied. So reverting this one. Revert "documentation regarding after_validation" This reverts commit c24aa2f2dca52e1b0ee644e407389f6e89f53007. --- activemodel/lib/active_model/validations/callbacks.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'activemodel') 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 before_validation returns false # then valid? will not be called. - # - # If validation fails then after_validation will not be called. extend ActiveSupport::Concern included do -- cgit v1.2.3