From cb6c6012fb8cfeb93abe51bd03241f5c1c9916ac Mon Sep 17 00:00:00 2001 From: Scott Diedrick Date: Thu, 18 Aug 2011 13:22:08 -0500 Subject: [PATCH] Add validate and validate on update and create to callback chains to inspect --- lib/without_callbacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/without_callbacks.rb b/lib/without_callbacks.rb index 966b9d5..d6c5410 100644 --- a/lib/without_callbacks.rb +++ b/lib/without_callbacks.rb @@ -4,7 +4,7 @@ module WithoutCallbacks # :nodoc: CALLBACK_LIST = { :all_crud => %w[after_create after_destroy after_save after_update before_create before_destroy before_save before_update], - :all_validation => %w[after_validation after_validation_on_create after_validation_on_update before_validation before_validation_on_create before_validation_on_update], + :all_validation => %w[after_validation after_validation_on_create after_validation_on_update before_validation before_validation_on_create before_validation_on_update validate validate_on_create validate_on_update], } CALLBACK_LIST[:all] = CALLBACK_LIST[:all_crud] + CALLBACK_LIST[:all_validation]