Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… commit while porting to the rails repo)
  • Loading branch information...
commit 388f09c28b8840366cafcbc3953ca24201cdfae9 1 parent 0ab65e8
Vijay Dev vijaydev authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/errors.rb
2  activemodel/lib/active_model/errors.rb
View
@@ -174,7 +174,7 @@ def count
to_a.size
end
- # 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? }
end
Please sign in to comment.
Something went wrong with that request. Please try again.