diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-07-30 10:55:06 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-07-30 10:55:06 -0500 |
commit | 1ca957c5bb6d33a84a0a69681e66de79c702930d (patch) | |
tree | a32a4788c36f5617d78bce2459329821b28c422b /activemodel/lib/active_model/validations | |
parent | 81bf120c340a2b9db13e96cad7f08bc2733a1ffe (diff) | |
download | rails-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.rb | 2 |
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 # |