aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-30 10:55:06 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-30 10:55:06 -0500
commit1ca957c5bb6d33a84a0a69681e66de79c702930d (patch)
treea32a4788c36f5617d78bce2459329821b28c422b /activemodel/lib/active_model/validations
parent81bf120c340a2b9db13e96cad7f08bc2733a1ffe (diff)
downloadrails-1ca957c5bb6d33a84a0a69681e66de79c702930d.tar.gz
rails-1ca957c5bb6d33a84a0a69681e66de79c702930d.tar.bz2
rails-1ca957c5bb6d33a84a0a69681e66de79c702930d.zip
fix #after_validation example [ci skip]
Diffstat (limited to 'activemodel/lib/active_model/validations')
-rw-r--r--activemodel/lib/active_model/validations/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
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
#