Skip to content
Browse files

fix misleading comment (originally made by Tate Johnson, we lost this…

… commit while porting to the rails repo)
  • Loading branch information...
1 parent 33be1b0 commit b98d3ab6f521e1fadcfb1f3e59089c301b460ff4 @vijaydev vijaydev committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/errors.rb
2 activemodel/lib/active_model/errors.rb
@@ -174,7 +174,7 @@ def count
- # Returns true if there are any errors, false if not.
+ # Returns true if no errors are found, false otherwise.
def empty?
all? { |k, v| v && v.empty? }

0 comments on commit b98d3ab

Please sign in to comment.
Something went wrong with that request. Please try again.