From 1ca957c5bb6d33a84a0a69681e66de79c702930d Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Mon, 30 Jul 2012 10:55:06 -0500 Subject: fix #after_validation example [ci skip] --- activemodel/lib/active_model/validations/callbacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/validations/callbacks.rb') diff --git a/activemodel/lib/active_model/validations/callbacks.rb b/activemodel/lib/active_model/validations/callbacks.rb index 03a44a0e29..bf3fe7ff04 100644 --- a/activemodel/lib/active_model/validations/callbacks.rb +++ b/activemodel/lib/active_model/validations/callbacks.rb @@ -77,7 +77,7 @@ module ActiveModel # private # # def set_status - # self.status = (errors.empty?) ? true : false + # self.status = errors.empty? # end # end # -- cgit v1.2.3