Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix #after_validation example [ci skip]

  • Loading branch information...
commit 1ca957c5bb6d33a84a0a69681e66de79c702930d 1 parent 81bf120
Francesco Rodríguez frodsan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/validations/callbacks.rb
2  activemodel/lib/active_model/validations/callbacks.rb
View
@@ -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
#
Please sign in to comment.
Something went wrong with that request. Please try again.