Permalink
Browse files

fix #after_validation example [ci skip]

  • Loading branch information...
1 parent 81bf120 commit 1ca957c5bb6d33a84a0a69681e66de79c702930d Francesco Rodriguez committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/validations/callbacks.rb
@@ -77,7 +77,7 @@ def before_validation(*args, &block)
# private
#
# def set_status
- # self.status = (errors.empty?) ? true : false
+ # self.status = errors.empty?
# end
# end
#

0 comments on commit 1ca957c

Please sign in to comment.