fix misleading comment (originally made by Tate Johnson, we lost this commit while porting to the rails repo)

This commit is contained in:
Vijay Dev 2011-08-14 19:29:35 +05:30
parent 33be1b0e4b
commit b98d3ab6f5
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ module ActiveModel
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